[Python-checkins] gh-103884: Docs CI: Only attempt nit-picky PR annotations for PRs (#103889)
hugovk
webhook-mailer at python.org
Wed Apr 26 16:20:39 EDT 2023
https://github.com/python/cpython/commit/842daa57cf93280dfb3430061007b7d54d3c1353
commit: 842daa57cf93280dfb3430061007b7d54d3c1353
branch: main
author: Hugo van Kemenade <hugovk at users.noreply.github.com>
committer: hugovk <hugovk at users.noreply.github.com>
date: 2023-04-26T20:20:19Z
summary:
gh-103884: Docs CI: Only attempt nit-picky PR annotations for PRs (#103889)
files:
M .github/workflows/doc.yml
diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml
index 3101b30231c3..28300d891ed2 100644
--- a/.github/workflows/doc.yml
+++ b/.github/workflows/doc.yml
@@ -56,11 +56,13 @@ jobs:
# Add pull request annotations for Sphinx nitpicks (missing references)
- name: 'Get list of changed files'
+ if: github.event_name == 'pull_request'
id: changed_files
uses: Ana06/get-changed-files at v2.2.0
with:
filter: "Doc/**"
- name: 'Build changed files in nit-picky mode'
+ if: github.event_name == 'pull_request'
continue-on-error: true
run: |
# Mark files the pull request modified
More information about the Python-checkins
mailing list