Make auto-fixable errors blocking #683
Unanswered
MichaelSnowden
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to configure my team's linter action to block merging in some cases. The linter action will appear in the CI as a failure; however, you can still merge the pull request ignoring the failure. In most cases, I want to keep the linter non-blocking to avoid false positives from blocking any pressing changes. However, for linter errors that can be auto-fixed, I want the action to block the PR from being merged. Essentially, I want to block the merge if there is any diff after running the linter with --fix=true. How can I accomplish this? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions