apply-label-via-rest

Category: Development & Coding | Uploader: tonychang04tonychang04 | Downloads: 0 | Version: v1.0(Latest)

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

Directory Structure

Current level: tree/main/.claude/skills/apply-label-via-rest/

  • 📄 SKILL.md 4.5 KB

SKILL.md

Login to download/like/favorite ❤ 5 | ★ 0
Comments 0

Please login before commenting.

Loading comments...