action-semantic-pull-request icon indicating copy to clipboard operation
action-semantic-pull-request copied to clipboard

Allow for PR title lint on Revert commits

Open freedude opened this issue 10 months ago • 2 comments

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: Image

2: Image

3: Image

freedude avatar Feb 12 '25 14:02 freedude

@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.

Anonycoders avatar Aug 11 '25 14:08 Anonycoders

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

steebchen avatar Sep 01 '25 18:09 steebchen