ci: migrate commit linting - #486
Conversation
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2b5d2b92ee
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| defaultIgnores: false, | ||
| ignores: [(message) => /^Merge[ \t]/.test(message)], |
There was a problem hiding this comment.
Exempt merge commits by topology
The CI range commands in .github/workflows/ci.yml do not pass Commitlint's --git-log-args --no-merges, while this predicate exempts messages only when their text starts with Merge. Consequently, a genuine merge commit with a customized subject such as release v1.0 is parsed and rejected, whereas the removed checker used git rev-list --no-merges and the repository policy requires linting only non-merge commits. Preserve the message-based exemption for the hook, but exclude merge commits structurally in range-based CI invocations.
AGENTS.md reference: AGENTS.md:L38-L39
Useful? React with 👍 / 👎.
Summary
Validation