fix(ci): address PR review feedback on staging-ci [skip-regression-check]

- Remove broken skip-claude-gate label check (label always exists after
  bootstrap); keep only workflow_dispatch input override
- Require claude-review.result == 'success' in gate condition so a
  crashed review blocks promotion instead of silently passing
- Load review prompt into GITHUB_ENV instead of $(cat) in YAML with:
  block (YAML doesn't do shell substitution)
- version-check roll-up: check != 'success' instead of == 'failure'
  to catch cancelled/skipped states
- Force run: set diff_range to valid empty range when no new commits
- Align low-confidence label spacing in create-labels.sh

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
This commit is contained in:
Henry Park
2026-03-08 14:56:33 -07:00
co-authored by Claude Opus 4.6
parent 6556d7ebcd
commit 926f868a3e
4 changed files with 31 additions and 23 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ echo "==> Creating workflow labels..."
create "skip-regression-check" "9E9E9E" "Acknowledged: fix without regression test"
create "staging-ci-review" "D93F0B" "Auto-created by staging CI Claude Code review"
create "skip-claude-gate" "FBCA04" "Override: bypass Claude CRITICAL gate on staging CI"
create "low-confidence" "C5DEF5" "Claude review finding with <50 confidence"
create "low-confidence" "C5DEF5" "Claude review finding with <50 confidence"
echo "==> Creating contributor labels..."
create "contributor: new" "FFF9C4" "First-time contributor"