Skip to content

Commit

Permalink
Check for triggering_actor instead of actor to prevent unnecessary ru…
Browse files Browse the repository at this point in the history
…ns when derived files are created (#2405)
  • Loading branch information
deepakunni3 authored Jul 17, 2023
1 parent 66f53a5 commit e3b7fa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/obo-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
if: github.actor != 'github-actions[bot]'
if: github.triggering_actor != 'github-actions[bot]'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
lint:
name: Lint
runs-on: ubuntu-latest
if: github.actor != 'github-actions[bot]'
if: github.triggering_actor != 'github-actions[bot]'
strategy:
matrix:
python-version: [ "3.7", "3.10" ]
Expand Down

0 comments on commit e3b7fa1

Please sign in to comment.