Skip to content

feat: support full GitHub issue URLs in PR compliance check#15549

Open
domdomegg wants to merge 1 commit intoanomalyco:devfrom
domdomegg:feat/pr-standards-full-url-issue-ref
Open

feat: support full GitHub issue URLs in PR compliance check#15549
domdomegg wants to merge 1 commit intoanomalyco:devfrom
domdomegg:feat/pr-standards-full-url-issue-ref

Conversation

@domdomegg
Copy link

@domdomegg domdomegg commented Mar 1, 2026

Issue for this PR

Closes #15550

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

The check-compliance job in pr-standards.yml only matches issue references like Closes #1234. GitHub also supports full issue URLs like Closes https://github.com/anomalyco/opencode/issues/1234 for auto-closing, but the regex didn't catch that format.

This updates the regex to also accept full GitHub issue URLs.

How did you verify your code works?

Verified the regex matches both formats: Closes #1234 and Closes https://github.com/anomalyco/opencode/issues/1234.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PR compliance check doesn't recognize full GitHub issue URLs

1 participant