Commit Graph
3 Commits
Author SHA1 Message Date
dev fc993fccc3 Merge pull request '[bug-hvhthrwf9ry8] fix(check-naming): print corrected title on missing-prefix failure' (#2) from dev/bug-hvhthrwf9ry8/improve-failure-message into main
test / test (push) Successful in 4s
2026-08-25 02:07:28 +00:00
devandClaude Sonnet 4.6 5d0c72201e fix(check-naming): print corrected title on missing-prefix failure
test / test (pull_request) Successful in 6s
When a role-bug branch has no [bug-id] prefix in the PR title, the check
now prints what the title should be:

  FAIL[check-naming]: title must lead with [bug-r095xkfgt2vz]
    have: fix(agenthub/bugs): budget unpark quote in bytes not runes
    want: [bug-r095xkfgt2vz] fix(agenthub/bugs): budget unpark quote in bytes not runes

The bug id is already parsed from the branch, so the corrected title is
mechanically derivable — no guesswork needed from the author.

Part of bug-hvhthrwf9ry8

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-25 02:04:17 +00:00
dev 5b5d16c46f feat: branch/PR naming standard CI check
test / test (push) Successful in 5s
Composite action that validates head branch and PR title against the
fritzlab naming standard (role/bug-id/kebab + [bug-id] titles).
Always exits 0 (warn-only) until the Bugs system is live.

- check.sh: validation logic (branch form, title form, bug-id cross-check)
- action.yaml: composite action wrapping check.sh
- tests/run: 20-case test matrix (valid/invalid/chore/mismatch/dfritz)
- .gitea/workflows/test.yaml: CI that runs the test suite

Closes fritzlab/agenthub#559
2026-07-25 19:01:08 +00:00