Skip to content

Commit 9e5b838

Browse files
authored
gh-146488: hash-pin check-html-ids action references (#147968)
1 parent 03f3b9a commit 9e5b838

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/reusable-check-html-ids.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
timeout-minutes: 30
1717
steps:
1818
- name: 'Check out base commit'
19-
uses: actions/checkout@v6
19+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2020
with:
2121
persist-credentials: false
2222
ref: ${{ github.event.pull_request.base.sha }}
2323
- name: 'Set up Python'
24-
uses: actions/setup-python@v6
24+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2525
with:
2626
python-version: '3'
2727
cache: 'pip'
@@ -31,7 +31,7 @@ jobs:
3131
- name: 'Build HTML documentation'
3232
run: make -C Doc/ SPHINXOPTS="--quiet" html
3333
- name: 'Check out PR head tools'
34-
uses: actions/checkout@v6
34+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3535
with:
3636
persist-credentials: false
3737
sparse-checkout: |
@@ -46,7 +46,7 @@ jobs:
4646
- name: 'Collect HTML IDs'
4747
run: python Doc/tools/check-html-ids.py collect Doc/build/html -o /tmp/html-ids-base.json.gz
4848
- name: 'Download PR head HTML IDs'
49-
uses: actions/download-artifact@v8
49+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
5050
with:
5151
name: html-ids-head.json.gz
5252
path: /tmp

.github/workflows/reusable-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
run: python Doc/tools/check-html-ids.py collect Doc/build/html -o Doc/build/html-ids-head.json.gz
8181
- name: 'Upload HTML IDs'
8282
if: github.event_name == 'pull_request'
83-
uses: actions/upload-artifact@v7
83+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
8484
with:
8585
name: html-ids-head
8686
path: Doc/build/html-ids-head.json.gz

0 commit comments

Comments
 (0)