diff --git a/.github/workflows/pr-file-check.yml b/.github/workflows/pr-file-check.yml index 7b5fdfa550bb..c38d586c31d5 100644 --- a/.github/workflows/pr-file-check.yml +++ b/.github/workflows/pr-file-check.yml @@ -49,7 +49,7 @@ jobs: script: | const labels = context.payload.pull_request.labels.map(label => label.name); if (!labels.includes('skip-issue-check')) { - const issueNumber = context.payload.pull_request.body.match(/#(\d+)/); + const issueNumber = context.payload.pull_request.body.match(/#\d+/); if (!issueNumber) { core.setFailed('No associated issue found in the PR description.'); }