Skip to content

feat: Ignore bot commits marked with Generated-by vulnguard - #15

Merged
hackwell merged 1 commit into
masterfrom
bot-commit-exemption
Nov 17, 2026
Merged

hackwell merged 1 commit into
masterfrom
bot-commit-exemption

Conversation

@hackwell

Copy link
Copy Markdown
Member

Renovate security updates and vulnguard AI fixes never carry a ticket reference (references-empty) and use lower-case subjects, so every bot PR failed "Lint commit messages" (31 red security PRs in the org on Nov 17).

vulnguard now adds the trailer Generated-by: vulnguard to all its commits (rfl-gd/security-automation#30). This config ignores commits with exactly that trailer line. Human commits are linted as before.

Repos install @flagbit/config-commitlint unpinned, so the next release (release-please → npm publish) takes effect everywhere without repo changes.

Tested with commitlint 12: bot message with trailer → passes, same message without trailer → fails as before.

Renovate and vulnguard AI fix commits never carry a ticket reference, so every bot pull request failed this lint.
@hackwell
hackwell merged commit 9caa46f into master Nov 17, 2026
1 check failed
@hackwell
hackwell deleted the bot-commit-exemption branch November 17, 2026 14:15
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