Skip to content

Commit

Permalink
Skip pre-commit checks for pre-commit actor
Browse files Browse the repository at this point in the history
  • Loading branch information
fizyk committed Jan 21, 2025
1 parent 54b9e17 commit bb75b90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
command: tbump --dry-run --only-patch $(pipenv run tbump current-version)"-x"
towncrier:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
if: ${{ !contains(fromJSON('["dependabot[bot]","pre-commit-ci"]'), github.actor) }}
steps:
- uses: fizyk/actions-reuse/.github/actions/pipenv@v2.4.8
with:
Expand Down
1 change: 1 addition & 0 deletions newsfragments/+a82453f2.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Skip newsfragment checks for pre-commit actor.

0 comments on commit bb75b90

Please sign in to comment.