Skip to content

Commit

Permalink
Misc. workflow updates (tektronix#171)
Browse files Browse the repository at this point in the history
* ci: Update the workflow for updating python and pre-commit dependencies to check the github.actor value instead of the pull request user to prevent running the check more than once per pull request.
Signed-off-by: v12ganesh [email protected]
  • Loading branch information
nfelt14 authored Mar 26, 2024
1 parent 04c56d3 commit 1731c79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ 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[bot]' && contains(github.head_ref, '/pip/') }}
if: ${{ github.actor == 'dependabot[bot]' && contains(github.head_ref, '/pip/') }}
permissions:
contents: write
steps:
Expand Down

0 comments on commit 1731c79

Please sign in to comment.