Allow for PR title lint on Revert commits
When I have to quickly revert a PR, I hit the revert button and it auto-generates a title which doesn't pass Lint.
Could we add support for revert PRs to make it that little bit quicker when we're trying to rush out a revert? 🙏
1:
2:
3:
@freedude Also facing the same issue!
At the moment, we I added a check in a prior step to see if the commit is a revert commit or not as GitHub revert commit has a fixed Revert ".*" format. If yes, then completely skip the linter and pass the verification.
You can check this repo I created which automatically renames the title with AI if it's not using conventional commit format (it's 100% free): https://github.com/marketplace/actions/auto-semantic-pull-request