You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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