From 67a13d3869db33887fe705b8fadb77b11ad9e324 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Fri, 31 Jul 2020 13:56:18 +0100 Subject: [PATCH] Change Checkout conditional to direct context, not env vars --- .github/workflows/pr-annotate-with-flake8.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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