Skip to content

ci: enforce conventional PR titles#328

Merged
nikazzio merged 1 commit into
mainfrom
ci/semantic-pr-title
Jul 10, 2026
Merged

ci: enforce conventional PR titles#328
nikazzio merged 1 commit into
mainfrom
ci/semantic-pr-title

Conversation

@nikazzio

Copy link
Copy Markdown
Owner

Perché

Il merge squash usa il titolo della PR come messaggio del commit su main. La #318 è stata mergiata con un titolo senza prefisso conventional → release-please ha considerato 0 commit e la 1.1.2 non è partita (sbloccata poi con un commit vuoto fix: su main, 8d589cb).

Cosa fa

Nuovo workflow PR Title: valida il titolo della PR con amannn/action-semantic-pull-request (tipi ammessi: feat, fix, refactor, perf, docs, test, chore, ci — allineati a release-please-config.json e alla regola commit del progetto). Titolo non conforme = check rosso.

Note

  • Nessun input non fidato in comandi shell (il titolo è gestito internamente dall'action).
  • Da aggiungere ai required checks della branch protection se si vuole il blocco hard.

Test plan

  • Il check compare su questa PR e passa (titolo ci: ...)
  • Rinominare temporaneamente la PR con un titolo non conventional → check rosso

🤖 Generated with Claude Code

Squash merges use the PR title as the commit subject on main;
a non-conventional title makes release-please skip the release
bump (happened with #318, missing 1.1.2). Block merge until the
title carries a conventional type.
@nikazzio nikazzio merged commit af3baeb into main Jul 10, 2026
8 checks passed
@nikazzio nikazzio deleted the ci/semantic-pr-title branch July 10, 2026 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant