Skip to content

chore(repo): normalize commit messages#113

Open
marcus wants to merge 1 commit intomainfrom
chore/commit-msg-normalizer-v2
Open

chore(repo): normalize commit messages#113
marcus wants to merge 1 commit intomainfrom
chore/commit-msg-normalizer-v2

Conversation

@marcus
Copy link
Copy Markdown
Owner

@marcus marcus commented Apr 11, 2026

Summary

  • standardize future commit subjects with a commit-msg hook and updated README guidance
  • accept Conventional Commits breaking-change syntax and install hooks safely in linked worktrees
  • validate PR titles in CI using the base branch validator so squash merges on main stay protected

Testing

  • bash ./scripts/commit-msg.sh --title "feat!: drop legacy API"
  • bash ./scripts/commit-msg.sh --title "feat(api)!: drop legacy API"
  • bash ./scripts/commit-msg.sh --title "bad message"
  • make install-hooks
  • make -C -f /Users/marcus/code/nightshift/Makefile install-hooks
  • go test ./...

Supersedes #112.

Nightshift-Task: commit-normalize
Nightshift-Ref: https://github.com/marcus/nightshift
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