Skip to content

Commit 51341d5

Browse files
committed
update regex
1 parent cef985d commit 51341d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
script: |
5050
const labels = context.payload.pull_request.labels.map(label => label.name);
5151
if (!labels.includes('skip-issue-check')) {
52-
const issueNumber = context.payload.pull_request.body.match(/#(\d+)/);
52+
const issueNumber = context.payload.pull_request.body.match(/#\d+/);
5353
if (!issueNumber) {
5454
core.setFailed('No associated issue found in the PR description.');
5555
}

0 commit comments

Comments
 (0)