Disable semantic commit prefixes for Renovate - #6467
Conversation
As suggested by @edmorley here: #6463 (comment) This will prevent Renovate from autodetecting semantic commits have been added to master and switching them on automatically, and instead just keep them permanently off.
edmorley
left a comment
There was a problem hiding this comment.
Sounds good to me!
For the reviewers, some more context:
By default if the semantic commits mode isn't set explicitly, Renovate uses auto-detection which looks at the style used in the most recent 10 commits:
https://github.com/renovatebot/renovate/blob/bf3f0862407c304c5ddde59fd0c20607c7e5f0ee/lib/workers/repository/init/semantic.js#L13-L18
However the commits in the Yarn repository inconsistently use semantic commits style, meaning that Renovate's "auto" mode flip-flops back and forth between semantic commits style being enabled and not. This results in inconsistent Renovate PR titles and commit messages, which aside from being suboptimal aesthetically, confuses Renovate's "an existing PR was already closed without being merged, don't open another" feature - and is why a number of duplicate PRs were opened up today.
Links to docs:
https://renovatebot.com/docs/configuration-options/#semanticcommits
https://renovatebot.com/docs/presets-default/#semanticcommitsdisabled
|
The CI failures appear on |
|
Thanks! 😃 |
Summary
As suggested by @edmorley here: #6463 (comment)
This will prevent Renovate from autodetecting semantic commits have been added to master and switching them on automatically, and instead just keep them permanently off.
Test plan
No tests required or changelog update as this is bot config internal to this repo only.