From ca37eb84502632c54400c79d19b5222961c6ac4e Mon Sep 17 00:00:00 2001 From: dan-claude-bot Date: Sat, 18 Jul 2026 18:04:51 +0000 Subject: [PATCH] =?UTF-8?q?docs:=20make=20the=20bootstrap=20trim=20idempot?= =?UTF-8?q?ent=20=E2=80=94=20swallow=20delete=20of=20an=20already-gone=20l?= =?UTF-8?q?abel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All three bot reviewers flagged it: gh label delete is not an upsert, so a second run of the safe-to-run block errored on the trim lines. Loop + '|| true'. Co-Authored-By: Claude Fable 5 --- LABELS.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/LABELS.md b/LABELS.md index b4dcb76..dca81a2 100644 --- a/LABELS.md +++ b/LABELS.md @@ -76,6 +76,9 @@ gh label create "scope:runner" --color C5DEF5 --description "runner-* gh label create "scope:coolify" --color C5DEF5 --description "coolify-* — Coolify and backup install" --force gh label create "scope:db" --color C5DEF5 --description "db.sh — dump/restore" --force gh label create "scope:installer" --color C5DEF5 --description "install.sh — how rig lands on a machine" --force -gh label delete duplicate --yes; gh label delete invalid --yes; gh label delete question --yes -gh label delete wontfix --yes; gh label delete "help wanted" --yes; gh label delete "good first issue" --yes +# delete is not an upsert: a label that is already gone exits non-zero. Swallow +# that, so this block converges on re-run instead of erroring after first success. +for L in duplicate invalid question wontfix "help wanted" "good first issue"; do + gh label delete "$L" --yes 2>/dev/null || true +done ```