mirror of
https://github.com/ankitects/anki.git
synced 2026-09-10 09:51:22 -04:00
Instead of using a fragile regex-based approach for the check-linked-issue workflow, we can use the GitHub GraphQL API to get linked issues as recognized by [supported keywords](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue). API reference: https://docs.github.com/en/graphql/reference/pulls?versionId=free-pro-team%40latest&page=issues#object-pullrequest Closes #5380
1.7 KiB
1.7 KiB
Linked issue (required)
Summary / motivation (required)
Steps to reproduce (required, use N/A if not applicable)
How to test (required)
Checklist (minimum)
- I ran
./ninja checkor an equivalent relevant check locally. - I added or updated tests when the change is non-trivial or behavior changed.
Details
Before / after behavior (optional)
Risk / compatibility / migration (optional)
UI evidence (required for visual changes; otherwise N/A)
Scope
- This PR is focused on one change (no unrelated edits).