]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-40548: github actions: pass the changes check on no source changes (GH-20097)
authorFilipe Laíns <lains@archlinux.org>
Fri, 15 May 2020 02:08:21 +0000 (03:08 +0100)
committerGitHub <noreply@github.com>
Fri, 15 May 2020 02:08:21 +0000 (04:08 +0200)
Signed-off-by: Filipe Laíns <lains@archlinux.org>
.github/workflows/build.yml

index dabfb79e9dcea127295c9ab77744b23ff9dce11e..dbef550643e813f994acbeef4dbd1c43999ce16e 100644 (file)
@@ -30,7 +30,7 @@ jobs:
             echo '::set-output name=run_tests::true'
           else
             git fetch origin $GITHUB_BASE_REF --depth=1
-            git diff --name-only origin/$GITHUB_BASE_REF... | grep -qvE '(\.rst$|^Doc|^Misc)' && echo '::set-output name=run_tests::true'
+            git diff --name-only origin/$GITHUB_BASE_REF... | grep -qvE '(\.rst$|^Doc|^Misc)' && echo '::set-output name=run_tests::true' || true
           fi
   build_win32:
     name: 'Windows (x86)'