Skip to content

Commit fd2bc00

Browse files
Test GH actions
1 parent 150d69c commit fd2bc00

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/pr-description-check.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@ jobs:
1313
script: |
1414
const prBody = context?.payload?.pull_request?.body;
1515
const descriptionSubtitle = "Changes proposed in this pull request";
16-
const nextSubtitle = "Related issue";
17-
const subString = prBody.substring(prBody.search(/`${descriptionSubtitle}`/) + descriptionSubtitle.length, prBody.search(/`${nextSubtitle}`/));
16+
const subString = prBody.substring(prBody.search(/Changes proposed in this pull request/) + descriptionSubtitle.length, prBody.search(/Related issue/));
1817
console.log(subString);

0 commit comments

Comments
 (0)