Opt out of pre-commit suggestions (#3858)

Due to my workflow, I prefer to run `pre-commit` locally when I forget
to after an amend. While reviewdog can be helpful in the UI, it's mostly
making me mark comments as resolved as part of re-pushing. Rather than
continuing with this, maybe opting out is best?
This commit is contained in:
Jon Ross-Perkins
2024-04-04 18:31:36 +00:00
committed by GitHub
parent 37aa309c81
commit 36c05bd573
@@ -27,7 +27,8 @@ jobs:
# Only generate suggestions if pre-commit for a PR failed.
if: |
github.event.workflow_run.conclusion == 'failure' &&
github.event.workflow_run.event == 'pull_request'
github.event.workflow_run.event == 'pull_request' &&
github.actor != 'jonmeow'
runs-on: ubuntu-latest
steps:
- uses: reviewdog/action-setup@v1