v2: fail (exit 1) on naming violation
test / test (pull_request) Successful in 4s

The four wired repos flip the naming job to a required status check
(agenthub#557 WS6); a check that always exits 0 can never gate. v2 makes
the script exit nonzero with FAIL lines; warn-only stays available via
job-level continue-on-error or the legacy @v1 tag. dfritz break-glass
exemption unchanged.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-26 18:05:26 +00:00
co-authored by Claude Fable 5
parent 5b5d16c46f
commit 9bfbd24461
4 changed files with 44 additions and 40 deletions
+3 -2
View File
@@ -1,8 +1,9 @@
name: Check branch/PR naming
description: |
Validates that a PR's head branch and title follow the fritzlab naming
standard. Always exits 0 — warn-only until the Bugs system is live.
Produces WARN log lines for any violation.
standard. Fails (exits 1) on any violation, with FAIL log lines naming
it. Warn-only wiring is the consumer's choice: set
continue-on-error: true on the job (or pin @v1, which never fails).
Standard:
branch: <role>/bug-<id>/<kebab> e.g. dev/bug-x7k2m9/fix-terminal-resize