]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-146488: hash-pin check-html-ids action references (#147968)
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Wed, 1 Apr 2026 14:23:25 +0000 (17:23 +0300)
committerGitHub <noreply@github.com>
Wed, 1 Apr 2026 14:23:25 +0000 (14:23 +0000)
.github/workflows/reusable-check-html-ids.yml
.github/workflows/reusable-docs.yml

index 47a2e25de3624f55bc4eb9962809892b81003791..4a1d321a8ce83e3e5304720eff27fae07bbb65ce 100644 (file)
@@ -16,12 +16,12 @@ jobs:
     timeout-minutes: 30
     steps:
       - name: 'Check out base commit'
-        uses: actions/checkout@v6
+        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
         with:
           persist-credentials: false
           ref: ${{ github.event.pull_request.base.sha }}
       - name: 'Set up Python'
-        uses: actions/setup-python@v6
+        uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
         with:
           python-version: '3'
           cache: 'pip'
@@ -31,7 +31,7 @@ jobs:
       - name: 'Build HTML documentation'
         run: make -C Doc/ SPHINXOPTS="--quiet" html
       - name: 'Check out PR head tools'
-        uses: actions/checkout@v6
+        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
         with:
           persist-credentials: false
           sparse-checkout: |
@@ -46,7 +46,7 @@ jobs:
       - name: 'Collect HTML IDs'
         run: python Doc/tools/check-html-ids.py collect Doc/build/html -o /tmp/html-ids-base.json.gz
       - name: 'Download PR head HTML IDs'
-        uses: actions/download-artifact@v8
+        uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
         with:
           name: html-ids-head.json.gz
           path: /tmp
index 5227c04c06f9c8d5d8dd6033b5f13af7d139d058..0453b6ab5550480f68a4b143ef710830366f9d83 100644 (file)
@@ -80,7 +80,7 @@ jobs:
       run: python Doc/tools/check-html-ids.py collect Doc/build/html -o Doc/build/html-ids-head.json.gz
     - name: 'Upload HTML IDs'
       if: github.event_name == 'pull_request'
-      uses: actions/upload-artifact@v7
+      uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
       with:
         name: html-ids-head
         path: Doc/build/html-ids-head.json.gz