We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d37d029 commit cc59d6eCopy full SHA for cc59d6e
.github/workflows/pr-file-check.yml
@@ -51,7 +51,8 @@ jobs:
51
if (!labels.includes('skip-issue-check')) {
52
const prBody = context.payload.pull_request.body || '';
53
const issueLink = prBody.match(/https:\/\/github\.com\/\S+\/issues\/\d+/);
54
- if (!issueLink) {
+ const issueReference = prBody.match(/#\d+/);
55
+ if (!issueLink && !issueReference) {
56
core.setFailed('No associated issue found in the PR description.');
57
}
58
0 commit comments