Skip to content

build: add conventional commits enforcement via GitHub Action#55

Merged
paullatzelsperger merged 1 commit into
mainfrom
build/8-conventional-commits
Mar 17, 2026
Merged

build: add conventional commits enforcement via GitHub Action#55
paullatzelsperger merged 1 commit into
mainfrom
build/8-conventional-commits

Conversation

@fulviocazzanti
Copy link
Copy Markdown
Contributor

@fulviocazzanti fulviocazzanti commented Feb 26, 2026

Summary

  • Adds a GitHub Action (conventional-commits.yml) that validates PR titles follow the Conventional Commits spec
  • Allowed types: feat, fix, docs, chore, refactor, test, ci, build, perf, style
  • Scopes are optional, subject must start lowercase
  • Uses amannn/action-semantic-pull-request@v5 (no Node.js dependencies needed)

Closes #8

Test plan

  • Workflow file is valid YAML
  • PR titles like feat: add feature pass (verified: this PR's own title passed the check)
  • PR titles like Add feature (no type prefix) fail

🤖 Generated with Claude Code

Add a GitHub Action workflow that validates PR titles follow the
Conventional Commits specification. This enforces the commit
convention already used informally in the project.

Allowed types: feat, fix, docs, chore, refactor, test, ci, build,
perf, style. Scopes are optional. Subject must start lowercase.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@paullatzelsperger paullatzelsperger merged commit 0460665 into main Mar 17, 2026
4 checks passed
@paullatzelsperger paullatzelsperger deleted the build/8-conventional-commits branch March 17, 2026 09:07
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.

Introduce conventional commits and other project guardrails.

3 participants