From 792583bfe1f29aed88c07a45b54a226fd5009519 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Tue, 28 Jul 2020 16:10:04 +0100 Subject: [PATCH] *.py exit status was inverted That'll teach me for testing with a commit only affecting *.yml files. --- .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 a951c274..05d914cb 100644 --- a/.github/workflows/pr-annotate-with-flake8.yml +++ b/.github/workflows/pr-annotate-with-flake8.yml @@ -26,7 +26,7 @@ jobs: run: | # Will exit with non-zero if no filenames ending in ".py" are in # the diff. - git diff --name-only "refs/remotes/origin/${BASE_REF}" -- | egrep -v '.py$' + git diff --name-only "refs/remotes/origin/${BASE_REF}" -- | egrep '.py$' - name: Set up Python 3.7 if: ${{ success() }}