diff --git a/.github/workflows/obo-test.yml b/.github/workflows/obo-test.yml index b68cc97c6..15edf2cbb 100644 --- a/.github/workflows/obo-test.yml +++ b/.github/workflows/obo-test.yml @@ -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 diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 3ae6b4e77..eae5691c6 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -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" ]