Repository navigation
ci: mirror linked issues' priority label on PRs - #13127
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
julian-risch
commented
Oct 6, 2026
sjrl
reviewed
Oct 6, 2026
sjrl
reviewed
Oct 6, 2026
sjrl
reviewed
Oct 6, 2026
sjrl
reviewed
Oct 6, 2026
sjrl
reviewed
Oct 6, 2026
Track which priority labels the workflow added via the PR's labeled events, so the sweep and unlinked issues also clean them up. Isolate non-priority issue events in their own concurrency group, tolerate 404s on removeLabel, and keep the sweep going when one PR fails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
julian-risch
commented
Oct 7, 2026
julian-risch
commented
Oct 7, 2026
Co-authored-by: Julian Risch <julianrisch@gmx.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issues
P0–P3) from the issues a PR links onto the PR so that we sort PRs we need to review by priority.Proposed Changes:
New workflow
priority_label_sync.ymlthat copies the priority label (P0–P3) from the issues a PR links onto the PR:pull_request_target): labels the PR from its linked issues. This coversFixes #123in the description at open time, and issues linked later by editing the description.issues: labeled/unlabeled, filtered toP0–P3): re-syncs every open PR that links that issue. An issue that gets its priority after the PR was opened, or whose priority changes, updates the PR.workflow_dispatch: re-syncs all open PRs. This catches issues linked through the "Development" sidebar, because GitHub sends no event for those links.Rules for edge cases:
P*label on the PR is removed.P*labels it added itself. It knows which ones those are from the PR's labeled events (actorgithub-actions). Priority labels set by hand stay.deepset-ai/haystackcount, as inlinked_issue_review.yml. Community members couldn't link private issues anyway.How did you test it?
gh api graphqlsuccessfullyremoveLabelis ignoredNotes for the reviewer
pull_request_targetgives the workflow write access on fork PRs too. This is safe because the workflow never checks out or runs PR code.Checklist
fix:,feat:,build:,chore:,ci:,docs:,style:,refactor:,perf:,test:and added!in case the PR includes breaking changes.🤖 Generated with Claude Code