From: Hugo van Kemenade Date: Wed, 26 Apr 2023 20:20:19 +0000 (+0300) Subject: gh-103884: Docs CI: Only attempt nit-picky PR annotations for PRs (#103889) X-Git-Tag: v3.12.0b1~404 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=842daa57cf93280dfb3430061007b7d54d3c1353;p=thirdparty%2FPython%2Fcpython.git gh-103884: Docs CI: Only attempt nit-picky PR annotations for PRs (#103889) --- 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@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