Skip to content

Commit 5ed9cb9

Browse files
committed
tweak regex
1 parent 9045898 commit 5ed9cb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/github.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ github::get_pr_number() {
1313
}
1414

1515
github::get_pr_body() {
16-
jq --raw-output .pull_request.body "$GITHUB_EVENT_PATH" | sed -r 's/#{1,3}/####/'
16+
jq --raw-output .pull_request.body "$GITHUB_EVENT_PATH" | sed -r 's/^#{1,3}\ /#### /'
1717
}
1818

1919
github::get_head_ref() {

0 commit comments

Comments
 (0)