From d37d029e25af870fa653e3ee63dd8b3dd3086e3f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 8 Jul 2025 20:15:40 +0000 Subject: [PATCH 1/2] Initial plan From cc59d6e6be6b4dceef61555e38edfe46df15dc4a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 8 Jul 2025 20:20:34 +0000 Subject: [PATCH 2/2] Fix skip-issue-check to support both URL and #issue formats Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com> --- .github/workflows/pr-file-check.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-file-check.yml b/.github/workflows/pr-file-check.yml index 180ab16a74c3..688c48d865d8 100644 --- a/.github/workflows/pr-file-check.yml +++ b/.github/workflows/pr-file-check.yml @@ -51,7 +51,8 @@ jobs: if (!labels.includes('skip-issue-check')) { const prBody = context.payload.pull_request.body || ''; const issueLink = prBody.match(/https:\/\/github\.com\/\S+\/issues\/\d+/); - if (!issueLink) { + const issueReference = prBody.match(/#\d+/); + if (!issueLink && !issueReference) { core.setFailed('No associated issue found in the PR description.'); } }