apply-label-via-rest
Apply, remove, or create GitHub labels on PRs and issues via the REST API (`gh api --method POST /repos/<owner>/<repo>/issues/<n>/labels`). Use for every Hydra label transition (`commander-review`, `commander-review-clean`, `commander-rescued`, `commander-stuck`, `commander-superseded`, etc.). NEVER use `gh pr edit --add-label` — it hits the GraphQL Projects (classic) path and fails on most repos with a deprecation error. Covers add, remove, create-then-add, idempotency, and the exact error signature. (Hydra) --- # Apply labels via the REST API (never `gh pr edit --add-label`) ## Overview `gh pr edit --add-label <name>` dispatches through GraphQL, whose response path touches Projects (classic) — a deprecated feature. It fails with: ```
Changelog: Source: GitHub https://github.com/tonychang04/hydra
Loading comments...