[Python-checkins] bpo-40548: Always run GitHub action, even on doc PRs (GH-19981)
Victor Stinner
webhook-mailer at python.org
Thu May 7 16:42:22 EDT 2020
https://github.com/python/cpython/commit/4e363761fc02a89d53aba4382dc451293bd6f0ba
commit: 4e363761fc02a89d53aba4382dc451293bd6f0ba
branch: master
author: Victor Stinner <vstinner at python.org>
committer: GitHub <noreply at github.com>
date: 2020-05-07T22:42:14+02:00
summary:
bpo-40548: Always run GitHub action, even on doc PRs (GH-19981)
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.
files:
M .github/workflows/build.yml
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 50d1561518bd8..6e6a6d2b789d3 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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:
More information about the Python-checkins
mailing list