We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 150d69c commit fd2bc00Copy full SHA for fd2bc00
.github/workflows/pr-description-check.yml
@@ -13,6 +13,5 @@ jobs:
13
script: |
14
const prBody = context?.payload?.pull_request?.body;
15
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}`/));
+ const subString = prBody.substring(prBody.search(/Changes proposed in this pull request/) + descriptionSubtitle.length, prBody.search(/Related issue/));
18
console.log(subString);
0 commit comments