From 4aa841c6e211c4c7f84df4fe641a0b3454713965 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Fri, 31 Jul 2020 13:59:52 +0100 Subject: [PATCH] Will PY file check work if env.PYFILES not set at all ? --- .github/workflows/pr-annotate-with-flake8.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr-annotate-with-flake8.yml b/.github/workflows/pr-annotate-with-flake8.yml index 732d19b5..f293a9fc 100644 --- a/.github/workflows/pr-annotate-with-flake8.yml +++ b/.github/workflows/pr-annotate-with-flake8.yml @@ -46,6 +46,7 @@ jobs: # So we check if any were affected and store that in env ################################################################## - name: Check for PY files + if: ${{ github.event.pull_request.base.repo.owner.login == github.event.pull_request.head.repo.owner.login }} run: | # Checkout might not have happened. if [ ! -d ".git" ]; then exit 0 ; fi