mirror of https://github.com/python/cpython
gh-103884: Docs CI: Only attempt nit-picky PR annotations for PRs (#103889)
This commit is contained in:
parent
bb8aa7a2b4
commit
842daa57cf
|
@ -56,11 +56,13 @@ jobs:
|
||||||
|
|
||||||
# Add pull request annotations for Sphinx nitpicks (missing references)
|
# Add pull request annotations for Sphinx nitpicks (missing references)
|
||||||
- name: 'Get list of changed files'
|
- name: 'Get list of changed files'
|
||||||
|
if: github.event_name == 'pull_request'
|
||||||
id: changed_files
|
id: changed_files
|
||||||
uses: Ana06/get-changed-files@v2.2.0
|
uses: Ana06/get-changed-files@v2.2.0
|
||||||
with:
|
with:
|
||||||
filter: "Doc/**"
|
filter: "Doc/**"
|
||||||
- name: 'Build changed files in nit-picky mode'
|
- name: 'Build changed files in nit-picky mode'
|
||||||
|
if: github.event_name == 'pull_request'
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
# Mark files the pull request modified
|
# Mark files the pull request modified
|
||||||
|
|
Loading…
Reference in New Issue