Skip to content

Commit 4ad3cc5

Browse files
committed
[3.13] Lock GitHub Actions workflows (GH-161811) (GH-161882)
(cherry picked from commit 023c3d1) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> (cherry picked from commit 16b9ac2)
1 parent 42155a0 commit 4ad3cc5

21 files changed

Lines changed: 201 additions & 67 deletions

‎.github/actionlint.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ paths:
55
ignore:
66
- 1st argument of function call is not assignable
77
- SC2(015|038|086|091|097|098|129|155)
8+
# Pending release of actionlint > 1.7.12 for `$/` self-repository syntax:
9+
# https://github.com/rhysd/actionlint/issues/711
10+
- reusable workflow call "\$/[^"]+" at "uses" is not following the format

‎.github/workflows/actions.lock‎

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
# This file is machine-generated by `gh actions-lock`.
2+
# Do not edit by hand; run `gh actions-lock` to update.
3+
# Docs: https://gh.io/actions-lockfile
4+
version: 'v0.0.3'
5+
workflows:
6+
'.github/workflows/build.yml':
7+
- 'actions/cache@v6.1.0'
8+
- 'actions/checkout@v7.0.1'
9+
- 'actions/setup-python@v7.0.0'
10+
- 'actions/upload-artifact@v7.0.1'
11+
- 're-actors/alls-green@v1.3.0'
12+
'.github/workflows/jit.yml':
13+
- 'actions/checkout@v7.0.1'
14+
- 'actions/setup-python@v7.0.0'
15+
'.github/workflows/lint.yml':
16+
- 'actions/checkout@v7.0.1'
17+
- 'j178/prek-action@v3.0.0'
18+
'.github/workflows/mypy.yml':
19+
- 'actions/checkout@v7.0.1'
20+
- 'astral-sh/setup-uv@v10.2.0'
21+
'.github/workflows/require-pr-label.yml':
22+
- 'mheap/github-action-required-labels@v5.6.0'
23+
'.github/workflows/reusable-check-c-api-docs.yml':
24+
- 'actions/checkout@v7.0.1'
25+
- 'actions/setup-python@v7.0.0'
26+
'.github/workflows/reusable-cifuzz.yml':
27+
- 'actions/upload-artifact@v7.0.1'
28+
- 'github/codeql-action@v4.38.2'
29+
- 'google/oss-fuzz@ed23f8af80ff82b25ca67cd9b101e690b8897b3f'
30+
'.github/workflows/reusable-context.yml':
31+
- 'actions/checkout@v7.0.1'
32+
- 'actions/setup-python@v7.0.0'
33+
'.github/workflows/reusable-docs.yml':
34+
- 'actions/cache@v6.1.0'
35+
- 'actions/checkout@v7.0.1'
36+
- 'actions/setup-python@v7.0.0'
37+
'.github/workflows/reusable-install.yml':
38+
- 'actions/checkout@v7.0.1'
39+
'.github/workflows/reusable-macos.yml':
40+
- 'actions/checkout@v7.0.1'
41+
'.github/workflows/reusable-san.yml':
42+
- 'actions/checkout@v7.0.1'
43+
- 'actions/upload-artifact@v7.0.1'
44+
'.github/workflows/reusable-ubuntu.yml':
45+
- 'actions/cache@v6.1.0'
46+
- 'actions/checkout@v7.0.1'
47+
'.github/workflows/reusable-wasi.yml':
48+
- 'actions/cache@v6.1.0'
49+
- 'actions/checkout@v7.0.1'
50+
- 'actions/setup-python@v7.0.0'
51+
- 'bytecodealliance/actions@v1.1.3'
52+
'.github/workflows/reusable-windows-msi.yml':
53+
- 'actions/checkout@v7.0.1'
54+
'.github/workflows/reusable-windows.yml':
55+
- 'actions/checkout@v7.0.1'
56+
'.github/workflows/verify-ensurepip-wheels.yml':
57+
- 'actions/checkout@v7.0.1'
58+
- 'actions/setup-python@v7.0.0'
59+
'.github/workflows/verify-expat.yml':
60+
- 'actions/checkout@v7.0.1'
61+
dependencies:
62+
'actions/cache@v6.1.0':
63+
ref: 'v6.1.0'
64+
commit: 'sha1-55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
65+
owner_id: 44036562
66+
repo_id: 215566462
67+
'actions/checkout@v7.0.1':
68+
ref: 'v7.0.1'
69+
commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
70+
owner_id: 44036562
71+
repo_id: 197814629
72+
'actions/setup-python@v7.0.0':
73+
ref: 'v7.0.0'
74+
commit: 'sha1-5fda3b95a4ea91299a34e894583c3862153e4b97'
75+
owner_id: 44036562
76+
repo_id: 192625525
77+
'actions/upload-artifact@v7.0.1':
78+
ref: 'v7.0.1'
79+
commit: 'sha1-043fb46d1a93c77aae656e7c1c64a875d1fc6a0a'
80+
owner_id: 44036562
81+
repo_id: 192625955
82+
'astral-sh/setup-uv@v10.2.0':
83+
ref: 'v10.2.0'
84+
commit: 'sha1-c18668ad3cf93ea998bef934396af7bb5c839dc7'
85+
owner_id: 115962839
86+
repo_id: 846733598
87+
'bytecodealliance/actions@v1.1.3':
88+
ref: 'v1.1.3'
89+
commit: 'sha1-9152e710e9f7182e4c29ad218e4f335a7b203613'
90+
owner_id: 54038801
91+
repo_id: 697422232
92+
'github/codeql-action@v4.38.2':
93+
ref: 'v4.38.2'
94+
commit: 'sha1-2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2'
95+
owner_id: 9919
96+
repo_id: 259445878
97+
'google/oss-fuzz@ed23f8af80ff82b25ca67cd9b101e690b8897b3f':
98+
ref: 'master'
99+
commit: 'sha1-ed23f8af80ff82b25ca67cd9b101e690b8897b3f'
100+
owner_id: 1342004
101+
repo_id: 63809205
102+
'j178/prek-action@v3.0.0':
103+
ref: 'v3.0.0'
104+
commit: 'sha1-4e14d07f9231acabce116ccfca13b13dd9755ece'
105+
owner_id: 10510431
106+
repo_id: 1052387486
107+
'mheap/github-action-required-labels@v5.6.0':
108+
ref: 'v5.6.0'
109+
commit: 'sha1-23e10fde7e062233401931a0eece796cd9bf3177'
110+
owner_id: 59130
111+
repo_id: 272521528
112+
're-actors/alls-green@v1.3.0':
113+
ref: 'v1.3.0'
114+
commit: 'sha1-b5b5b37504aa4183270bd3d855c52a67f212be35'
115+
owner_id: 46427759
116+
repo_id: 434447646

‎.github/workflows/build.yml‎

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ jobs:
4141
# || 'falsy-branch'
4242
# }}
4343
#
44-
uses: ./.github/workflows/reusable-context.yml
44+
uses: $/.github/workflows/reusable-context.yml
4545

4646
check-docs:
4747
name: Docs
4848
needs: build-context
4949
if: fromJSON(needs.build-context.outputs.run-docs)
50-
uses: ./.github/workflows/reusable-docs.yml
50+
uses: $/.github/workflows/reusable-docs.yml
5151

5252
check-abi:
5353
name: 'Check if the ABI has changed'
@@ -56,10 +56,10 @@ jobs:
5656
needs: build-context
5757
if: needs.build-context.outputs.run-tests == 'true'
5858
steps:
59-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
59+
- uses: actions/checkout@v7.0.1
6060
with:
6161
persist-credentials: false
62-
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
62+
- uses: actions/setup-python@v7.0.0
6363
- name: Install dependencies
6464
run: |
6565
sudo ./.github/workflows/posix-deps-apt.sh
@@ -88,7 +88,7 @@ jobs:
8888
if: ${{ failure() && steps.check.conclusion == 'failure' }}
8989
run: |
9090
make regen-abidump
91-
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
91+
- uses: actions/upload-artifact@v7.0.1
9292
name: Publish updated ABI files
9393
if: ${{ failure() && steps.check.conclusion == 'failure' }}
9494
with:
@@ -110,7 +110,7 @@ jobs:
110110
run: |
111111
apt update && apt install git -yq
112112
git config --global --add safe.directory "$GITHUB_WORKSPACE"
113-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
113+
- uses: actions/checkout@v7.0.1
114114
with:
115115
fetch-depth: 1
116116
persist-credentials: false
@@ -147,10 +147,10 @@ jobs:
147147
needs: build-context
148148
if: needs.build-context.outputs.run-tests == 'true'
149149
steps:
150-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
150+
- uses: actions/checkout@v7.0.1
151151
with:
152152
persist-credentials: false
153-
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
153+
- uses: actions/setup-python@v7.0.0
154154
with:
155155
python-version: '3.x'
156156
- name: Runner image version
@@ -193,7 +193,7 @@ jobs:
193193
if: >-
194194
needs.build-context.outputs.run-tests == 'true'
195195
|| needs.build-context.outputs.run-docs == 'true'
196-
uses: ./.github/workflows/reusable-check-c-api-docs.yml
196+
uses: $/.github/workflows/reusable-check-c-api-docs.yml
197197

198198
build-windows:
199199
name: >-
@@ -221,7 +221,7 @@ jobs:
221221
- os: windows-2022
222222
arch: Win32
223223
free-threading: false
224-
uses: ./.github/workflows/reusable-windows.yml
224+
uses: $/.github/workflows/reusable-windows.yml
225225
with:
226226
os: ${{ matrix.os }}
227227
arch: ${{ matrix.arch }}
@@ -239,7 +239,7 @@ jobs:
239239
- x86
240240
- x64
241241
- arm64
242-
uses: ./.github/workflows/reusable-windows-msi.yml
242+
uses: $/.github/workflows/reusable-windows-msi.yml
243243
with:
244244
arch: ${{ matrix.arch }}
245245

@@ -263,7 +263,7 @@ jobs:
263263
exclude:
264264
- os: macos-26-intel
265265
free-threading: true
266-
uses: ./.github/workflows/reusable-macos.yml
266+
uses: $/.github/workflows/reusable-macos.yml
267267
with:
268268
free-threading: ${{ matrix.free-threading }}
269269
os: ${{ matrix.os }}
@@ -280,15 +280,15 @@ jobs:
280280
free-threading:
281281
- false
282282
- true
283-
uses: ./.github/workflows/reusable-ubuntu.yml
283+
uses: $/.github/workflows/reusable-ubuntu.yml
284284
with:
285285
free-threading: ${{ matrix.free-threading }}
286286

287287
build-ubuntu-installed:
288288
name: 'Ubuntu (installed)'
289289
needs: build-context
290290
if: needs.build-context.outputs.run-ubuntu == 'true'
291-
uses: ./.github/workflows/reusable-install.yml
291+
uses: $/.github/workflows/reusable-install.yml
292292

293293
build-ubuntu-ssltests:
294294
name: 'Ubuntu SSL tests with OpenSSL'
@@ -311,7 +311,7 @@ jobs:
311311
OPENSSL_DIR: ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}
312312
LD_LIBRARY_PATH: ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}/lib
313313
steps:
314-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
314+
- uses: actions/checkout@v7.0.1
315315
with:
316316
persist-credentials: false
317317
- name: Runner image version
@@ -327,7 +327,7 @@ jobs:
327327
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> "$GITHUB_ENV"
328328
- name: 'Restore OpenSSL build'
329329
id: cache-openssl
330-
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
330+
uses: actions/cache@v6.1.0
331331
with:
332332
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
333333
key: ${{ matrix.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -359,7 +359,7 @@ jobs:
359359

360360
runs-on: ${{ matrix.runs-on }}
361361
steps:
362-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
362+
- uses: actions/checkout@v7.0.1
363363
with:
364364
persist-credentials: false
365365
- name: Build and test
@@ -369,7 +369,7 @@ jobs:
369369
name: 'WASI'
370370
needs: build-context
371371
if: needs.build-context.outputs.run-wasi == 'true'
372-
uses: ./.github/workflows/reusable-wasi.yml
372+
uses: $/.github/workflows/reusable-wasi.yml
373373

374374
test-hypothesis:
375375
name: "Hypothesis tests on Ubuntu"
@@ -381,7 +381,7 @@ jobs:
381381
OPENSSL_VER: 3.5.9
382382
PYTHONSTRICTEXTENSIONBUILD: 1
383383
steps:
384-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
384+
- uses: actions/checkout@v7.0.1
385385
with:
386386
persist-credentials: false
387387
- name: Register gcc problem matcher
@@ -395,7 +395,7 @@ jobs:
395395
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> "$GITHUB_ENV"
396396
- name: 'Restore OpenSSL build'
397397
id: cache-openssl
398-
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
398+
uses: actions/cache@v6.1.0
399399
with:
400400
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
401401
key: ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -441,7 +441,7 @@ jobs:
441441
./python -m venv "$VENV_LOC" && "$VENV_PYTHON" -m pip install -r "${GITHUB_WORKSPACE}/Tools/requirements-hypothesis.txt"
442442
- name: 'Restore Hypothesis database'
443443
id: cache-hypothesis-database
444-
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
444+
uses: actions/cache@v6.1.0
445445
with:
446446
path: ${{ env.CPYTHON_BUILDDIR }}/.hypothesis/
447447
key: hypothesis-database-${{ github.head_ref || github.run_id }}
@@ -468,7 +468,7 @@ jobs:
468468
-x test_subprocess \
469469
-x test_signal \
470470
-x test_sysconfig
471-
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
471+
- uses: actions/upload-artifact@v7.0.1
472472
if: always()
473473
with:
474474
name: hypothesis-example-db
@@ -489,7 +489,7 @@ jobs:
489489
PYTHONSTRICTEXTENSIONBUILD: 1
490490
ASAN_OPTIONS: detect_leaks=0:allocator_may_return_null=1:handle_segv=0
491491
steps:
492-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
492+
- uses: actions/checkout@v7.0.1
493493
with:
494494
persist-credentials: false
495495
- name: Runner image version
@@ -505,7 +505,7 @@ jobs:
505505
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> "$GITHUB_ENV"
506506
- name: 'Restore OpenSSL build'
507507
id: cache-openssl
508-
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
508+
uses: actions/cache@v6.1.0
509509
with:
510510
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
511511
key: ${{ matrix.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -536,7 +536,7 @@ jobs:
536536
- true
537537
sanitizer:
538538
- TSan
539-
uses: ./.github/workflows/reusable-san.yml
539+
uses: $/.github/workflows/reusable-san.yml
540540
with:
541541
sanitizer: ${{ matrix.sanitizer }}
542542
free-threading: ${{ matrix.free-threading }}
@@ -580,7 +580,7 @@ jobs:
580580
&& 'no-exclude'
581581
|| 'python3-libraries'
582582
}}
583-
uses: ./.github/workflows/reusable-cifuzz.yml
583+
uses: $/.github/workflows/reusable-cifuzz.yml
584584
with:
585585
oss-fuzz-project-name: ${{ matrix.oss-fuzz-project-name }}
586586
sanitizer: ${{ matrix.sanitizer }}
@@ -610,7 +610,7 @@ jobs:
610610

611611
steps:
612612
- name: Check whether the needed jobs succeeded or failed
613-
uses: re-actors/alls-green@b5b5b37504aa4183270bd3d855c52a67f212be35
613+
uses: re-actors/alls-green@v1.3.0
614614
with:
615615
allowed-failures: >-
616616
build-android,

‎.github/workflows/jit.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-latest
3535
timeout-minutes: 90
3636
steps:
37-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
37+
- uses: actions/checkout@v7.0.1
3838
with:
3939
persist-credentials: false
4040
- name: Build tier two interpreter
@@ -107,10 +107,10 @@ jobs:
107107
env:
108108
CC: ${{ matrix.compiler }}
109109
steps:
110-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
110+
- uses: actions/checkout@v7.0.1
111111
with:
112112
persist-credentials: false
113-
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
113+
- uses: actions/setup-python@v7.0.0
114114
with:
115115
python-version: '3.11'
116116

@@ -174,10 +174,10 @@ jobs:
174174
runs-on: ubuntu-latest
175175
timeout-minutes: 90
176176
steps:
177-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
177+
- uses: actions/checkout@v7.0.1
178178
with:
179179
persist-credentials: false
180-
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
180+
- uses: actions/setup-python@v7.0.0
181181
with:
182182
python-version: '3.11'
183183
- name: Build with JIT enabled and GIL disabled

0 commit comments

Comments
 (0)