]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-40548: Always run GitHub action, even on doc PRs (GH-19981)
authorVictor Stinner <vstinner@python.org>
Thu, 7 May 2020 20:42:14 +0000 (22:42 +0200)
committerGitHub <noreply@github.com>
Thu, 7 May 2020 20:42:14 +0000 (22:42 +0200)
Always run GitHub action jobs, even on documentation-only pull
requests. So it will be possible to make a GitHub action job, like
the Windows (64-bit) job, mandatory.

.github/workflows/build.yml

index 50d1561518bd82d184eb473820bcf869f381a08d..6e6a6d2b789d34f82d274502dac498e5fdbd2cc0 100644 (file)
@@ -1,26 +1,19 @@
 name: Tests
 
+# bpo-40548: "paths-ignore" is not used to skip documentation-only PRs, because
+# it prevents to mark a job as mandatory. A PR cannot be merged if a job is
+# mandatory but not scheduled because of "paths-ignore".
 on:
   push:
     branches:
     - master
     - 3.8
     - 3.7
-    paths-ignore:
-    - 'Doc/**'
-    - 'Misc/**'
-    - '**/*.md'
-    - '**/*.rst'
   pull_request:
     branches:
     - master
     - 3.8
     - 3.7
-    paths-ignore:
-    - 'Doc/**'
-    - 'Misc/**'
-    - '**/*.md'
-    - '**/*.rst'
 
 jobs:
   build_win32: