Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork178
Make auto-fixable errors blocking#683
Unanswered
MichaelSnowden asked this question inQ&A
-
I want to configuremy 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! |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 0 comments
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment