Skip to content

Support cross-repo issue links in check-pr-issue-link #5

@glageju

Description

@glageju

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions