Skip to content

Commit

Permalink
ci: Update workflow to only trigger for pip pull requests for python …
Browse files Browse the repository at this point in the history
…dependencies.
  • Loading branch information
nfelt14 committed Feb 14, 2024
1 parent 266d3c4 commit 485e379
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ jobs:
update-python-and-pre-commit-deps:
name: Update python linters and pre-commit dependencies
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot'
if: github.event.pull_request.user.login == 'dependabot' && contains(github.head_ref,
"/pip/")
permissions:
contents: write
steps:
Expand Down

0 comments on commit 485e379

Please sign in to comment.