Today the check-pr-issue-link workflow only recognizes same-repo closing references (Closes #123). Extend it to also accept GitHub's cross-repo shorthand Closes owner/repo#123 (e.g. Closes stacklok/ai-toolkit#129), and validate each reference against the correct repository via the GitHub API.
Unverifiable cross-repo references (typo, private repo, or repo the token cannot access) are treated the same as same-repo 404s — reported as not found.
Today the
check-pr-issue-linkworkflow only recognizes same-repo closing references (Closes #123). Extend it to also accept GitHub's cross-repo shorthandCloses owner/repo#123(e.g.Closes stacklok/ai-toolkit#129), and validate each reference against the correct repository via the GitHub API.Unverifiable cross-repo references (typo, private repo, or repo the token cannot access) are treated the same as same-repo 404s — reported as not found.