diff --git a/.github/workflows/pr-annotate-with-flake8.yml b/.github/workflows/pr-annotate-with-flake8.yml index dd1f5e51..732d19b5 100644 --- a/.github/workflows/pr-annotate-with-flake8.yml +++ b/.github/workflows/pr-annotate-with-flake8.yml @@ -35,7 +35,7 @@ jobs: # Perform the checkout ################################################################## - name: Checkout - if: ${{ env.BASE_REPO_OWNER == env.HEAD_REPO_OWNER }} + if: ${{ github.event.pull_request.base.repo.owner.login == github.event.pull_request.head.repo.owner.login }} uses: actions/checkout@v2 with: fetch-depth: 0