mark-high-priority
Add the high-priority label to a PR so merge-queue automation yields to it. Use when a PR needs to bypass normal queue yielding for urgent fixes or time-sensitive deployments.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Mark High Priority
Add the high-priority label to a PR so other merge-queue sessions yield to it.
Setup
Determine the repository for all gh commands:
REPO=$(gh repo view --json nameWithOwner -q .nameWithOwner)
Always pass -R "$REPO" to gh commands.
Workflow
-
Get PR info:
gh pr view --json number,labels -R "$REPO" -
If the PR already has
high-priority, report that and exit. -
Add the label:
gh pr edit <pr-number> --add-label "high-priority" -R "$REPO" -
Confirm:
gh pr view <pr-number> --json labels -R "$REPO"
Notes
- The
high-prioritylabel must exist in the repository (create it if it doesn't). - Use sparingly to keep the merge queue fair.
- To remove later:
gh pr edit <pr-number> --remove-label "high-priority" -R "$REPO".
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-26
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!