https://github.com/python/cpython/commit/cf31c2454b81145ba25a15b19e739424dd0869c2
commit: cf31c2454b81145ba25a15b19e739424dd0869c2
branch: 3.13
author: Hugo van Kemenade <[email protected]>
committer: hugovk <[email protected]>
date: 2026-11-16T13:36:27+02:00
summary:

[3.13] Lock GitHub Actions workflows (GH-161811) (GH-161882) (#161889)

(cherry picked from commit 023c3d1d635faaf368c5f4c42f4cf12d42014a6f)


(cherry picked from commit 16b9ac289d655cf88843752af9f9883fe973e2f1)

files:
A .github/workflows/actions.lock
M .github/actionlint.yaml
M .github/workflows/build.yml
M .github/workflows/jit.yml
M .github/workflows/lint.yml
M .github/workflows/mypy.yml
M .github/workflows/require-pr-label.yml
M .github/workflows/reusable-check-c-api-docs.yml
M .github/workflows/reusable-context.yml
M .github/workflows/reusable-docs.yml
M .github/workflows/reusable-install.yml
M .github/workflows/reusable-macos.yml
M .github/workflows/reusable-san.yml
M .github/workflows/reusable-ubuntu.yml
M .github/workflows/reusable-wasi.yml
M .github/workflows/reusable-windows-msi.yml
M .github/workflows/reusable-windows.yml
M .github/workflows/verify-ensurepip-wheels.yml
M .github/workflows/verify-expat.yml
M .pre-commit-config.yaml

diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml
index eacfff24889021..3e1d3d923a9cc3 100644
--- a/.github/actionlint.yaml
+++ b/.github/actionlint.yaml
@@ -5,3 +5,6 @@ paths:
      ignore:
      - 1st argument of function call is not assignable
      - SC2(015|038|086|091|097|098|129|155)
+     # Pending release of actionlint > 1.7.12 for `$/` self-repository syntax:
+     # https://github.com/rhysd/actionlint/issues/711
+     - reusable workflow call "\$/[^"]+" at "uses" is not following the format
diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock
new file mode 100644
index 00000000000000..0a2fae3d4c7aed
--- /dev/null
+++ b/.github/workflows/actions.lock
@@ -0,0 +1,102 @@
+# This file is machine-generated by `gh actions-lock`.
+# Do not edit by hand; run `gh actions-lock` to update.
+# Docs: https://gh.io/actions-lockfile
+version: 'v0.0.3'
+workflows:
+    '.github/workflows/build.yml':
+        - 'actions/[email protected]'
+        - 'actions/[email protected]'
+        - 'actions/[email protected]'
+        - 'actions/[email protected]'
+        - 're-actors/[email protected]'
+    '.github/workflows/jit.yml':
+        - 'actions/[email protected]'
+        - 'actions/[email protected]'
+    '.github/workflows/lint.yml':
+        - 'actions/[email protected]'
+        - 'j178/[email protected]'
+    '.github/workflows/mypy.yml':
+        - 'actions/[email protected]'
+        - 'astral-sh/[email protected]'
+    '.github/workflows/require-pr-label.yml':
+        - 'mheap/[email protected]'
+    '.github/workflows/reusable-check-c-api-docs.yml':
+        - 'actions/[email protected]'
+        - 'actions/[email protected]'
+    '.github/workflows/reusable-context.yml':
+        - 'actions/[email protected]'
+        - 'actions/[email protected]'
+    '.github/workflows/reusable-docs.yml':
+        - 'actions/[email protected]'
+        - 'actions/[email protected]'
+        - 'actions/[email protected]'
+    '.github/workflows/reusable-install.yml':
+        - 'actions/[email protected]'
+    '.github/workflows/reusable-macos.yml':
+        - 'actions/[email protected]'
+    '.github/workflows/reusable-san.yml':
+        - 'actions/[email protected]'
+        - 'actions/[email protected]'
+    '.github/workflows/reusable-ubuntu.yml':
+        - 'actions/[email protected]'
+        - 'actions/[email protected]'
+    '.github/workflows/reusable-wasi.yml':
+        - 'actions/[email protected]'
+        - 'actions/[email protected]'
+        - 'actions/[email protected]'
+        - 'bytecodealliance/[email protected]'
+    '.github/workflows/reusable-windows-msi.yml':
+        - 'actions/[email protected]'
+    '.github/workflows/reusable-windows.yml':
+        - 'actions/[email protected]'
+    '.github/workflows/verify-ensurepip-wheels.yml':
+        - 'actions/[email protected]'
+        - 'actions/[email protected]'
+    '.github/workflows/verify-expat.yml':
+        - 'actions/[email protected]'
+dependencies:
+    'actions/[email protected]':
+        ref: 'v6.1.0'
+        commit: 'sha1-55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
+        owner_id: 44036562
+        repo_id: 215566462
+    'actions/[email protected]':
+        ref: 'v7.0.1'
+        commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
+        owner_id: 44036562
+        repo_id: 197814629
+    'actions/[email protected]':
+        ref: 'v7.0.0'
+        commit: 'sha1-5fda3b95a4ea91299a34e894583c3862153e4b97'
+        owner_id: 44036562
+        repo_id: 192625525
+    'actions/[email protected]':
+        ref: 'v7.0.1'
+        commit: 'sha1-043fb46d1a93c77aae656e7c1c64a875d1fc6a0a'
+        owner_id: 44036562
+        repo_id: 192625955
+    'astral-sh/[email protected]':
+        ref: 'v10.2.0'
+        commit: 'sha1-c18668ad3cf93ea998bef934396af7bb5c839dc7'
+        owner_id: 115962839
+        repo_id: 846733598
+    'bytecodealliance/[email protected]':
+        ref: 'v1.1.3'
+        commit: 'sha1-9152e710e9f7182e4c29ad218e4f335a7b203613'
+        owner_id: 54038801
+        repo_id: 697422232
+    'j178/[email protected]':
+        ref: 'v3.0.0'
+        commit: 'sha1-4e14d07f9231acabce116ccfca13b13dd9755ece'
+        owner_id: 10510431
+        repo_id: 1052387486
+    'mheap/[email protected]':
+        ref: 'v5.6.0'
+        commit: 'sha1-23e10fde7e062233401931a0eece796cd9bf3177'
+        owner_id: 59130
+        repo_id: 272521528
+    're-actors/[email protected]':
+        ref: 'v1.3.0'
+        commit: 'sha1-b5b5b37504aa4183270bd3d855c52a67f212be35'
+        owner_id: 46427759
+        repo_id: 434447646
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f3be5661d01658..f4b90cc53ca642 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -41,13 +41,13 @@ jobs:
     #        || 'falsy-branch'
     #   }}
     #
-    uses: ./.github/workflows/reusable-context.yml
+    uses: $/.github/workflows/reusable-context.yml
 
   check-docs:
     name: Docs
     needs: build-context
     if: fromJSON(needs.build-context.outputs.run-docs)
-    uses: ./.github/workflows/reusable-docs.yml
+    uses: $/.github/workflows/reusable-docs.yml
 
   check-abi:
     name: 'Check if the ABI has changed'
@@ -56,10 +56,10 @@ jobs:
     needs: build-context
     if: needs.build-context.outputs.run-tests == 'true'
     steps:
-      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 
v7.0.1
+      - uses: actions/[email protected]
         with:
           persist-credentials: false
-      - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # 
v7.0.0
+      - uses: actions/[email protected]
       - name: Install dependencies
         run: |
             sudo ./.github/workflows/posix-deps-apt.sh
@@ -88,7 +88,7 @@ jobs:
         if: ${{ failure() && steps.check.conclusion == 'failure' }}
         run: |
           make regen-abidump
-      - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a 
# v7.0.1
+      - uses: actions/[email protected]
         name: Publish updated ABI files
         if: ${{ failure() && steps.check.conclusion == 'failure' }}
         with:
@@ -110,7 +110,7 @@ jobs:
         run: |
           apt update && apt install git -yq
           git config --global --add safe.directory "$GITHUB_WORKSPACE"
-      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 
v7.0.1
+      - uses: actions/[email protected]
         with:
           fetch-depth: 1
           persist-credentials: false
@@ -147,10 +147,10 @@ jobs:
     needs: build-context
     if: needs.build-context.outputs.run-tests == 'true'
     steps:
-      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 
v7.0.1
+      - uses: actions/[email protected]
         with:
           persist-credentials: false
-      - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # 
v7.0.0
+      - uses: actions/[email protected]
         with:
           python-version: '3.x'
       - name: Runner image version
@@ -193,7 +193,7 @@ jobs:
     if: >-
       needs.build-context.outputs.run-tests == 'true'
       || needs.build-context.outputs.run-docs == 'true'
-    uses: ./.github/workflows/reusable-check-c-api-docs.yml
+    uses: $/.github/workflows/reusable-check-c-api-docs.yml
 
   build-windows:
     name: >-
@@ -221,7 +221,7 @@ jobs:
           - os: windows-2022
             arch: Win32
             free-threading: false
-    uses: ./.github/workflows/reusable-windows.yml
+    uses: $/.github/workflows/reusable-windows.yml
     with:
       os: ${{ matrix.os }}
       arch: ${{ matrix.arch }}
@@ -239,7 +239,7 @@ jobs:
         - x86
         - x64
         - arm64
-    uses: ./.github/workflows/reusable-windows-msi.yml
+    uses: $/.github/workflows/reusable-windows-msi.yml
     with:
       arch: ${{ matrix.arch }}
 
@@ -263,7 +263,7 @@ jobs:
         exclude:
         - os: macos-26-intel
           free-threading: true
-    uses: ./.github/workflows/reusable-macos.yml
+    uses: $/.github/workflows/reusable-macos.yml
     with:
       free-threading: ${{ matrix.free-threading }}
       os: ${{ matrix.os }}
@@ -280,7 +280,7 @@ jobs:
         free-threading:
         - false
         - true
-    uses: ./.github/workflows/reusable-ubuntu.yml
+    uses: $/.github/workflows/reusable-ubuntu.yml
     with:
       free-threading: ${{ matrix.free-threading }}
 
@@ -288,7 +288,7 @@ jobs:
     name: 'Ubuntu (installed)'
     needs: build-context
     if: needs.build-context.outputs.run-ubuntu == 'true'
-    uses: ./.github/workflows/reusable-install.yml
+    uses: $/.github/workflows/reusable-install.yml
 
   build-ubuntu-ssltests:
     name: 'Ubuntu SSL tests with OpenSSL'
@@ -311,7 +311,7 @@ jobs:
       OPENSSL_DIR: ${{ github.workspace }}/multissl/openssl/${{ 
matrix.openssl_ver }}
       LD_LIBRARY_PATH: ${{ github.workspace }}/multissl/openssl/${{ 
matrix.openssl_ver }}/lib
     steps:
-    - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+    - uses: actions/[email protected]
       with:
         persist-credentials: false
     - name: Runner image version
@@ -327,7 +327,7 @@ jobs:
         echo 
"LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> 
"$GITHUB_ENV"
     - name: 'Restore OpenSSL build'
       id: cache-openssl
-      uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
+      uses: actions/[email protected]
       with:
         path: ./multissl/openssl/${{ env.OPENSSL_VER }}
         key: ${{ matrix.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -359,7 +359,7 @@ jobs:
 
     runs-on: ${{ matrix.runs-on }}
     steps:
-      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 
v7.0.1
+      - uses: actions/[email protected]
         with:
           persist-credentials: false
       - name: Build and test
@@ -369,7 +369,7 @@ jobs:
     name: 'WASI'
     needs: build-context
     if: needs.build-context.outputs.run-wasi == 'true'
-    uses: ./.github/workflows/reusable-wasi.yml
+    uses: $/.github/workflows/reusable-wasi.yml
 
   test-hypothesis:
     name: "Hypothesis tests on Ubuntu"
@@ -381,7 +381,7 @@ jobs:
       OPENSSL_VER: 3.5.9
       PYTHONSTRICTEXTENSIONBUILD: 1
     steps:
-    - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+    - uses: actions/[email protected]
       with:
         persist-credentials: false
     - name: Register gcc problem matcher
@@ -395,7 +395,7 @@ jobs:
         echo 
"LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> 
"$GITHUB_ENV"
     - name: 'Restore OpenSSL build'
       id: cache-openssl
-      uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
+      uses: actions/[email protected]
       with:
         path: ./multissl/openssl/${{ env.OPENSSL_VER }}
         key: ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -441,7 +441,7 @@ jobs:
         ./python -m venv "$VENV_LOC" && "$VENV_PYTHON" -m pip install -r 
"${GITHUB_WORKSPACE}/Tools/requirements-hypothesis.txt"
     - name: 'Restore Hypothesis database'
       id: cache-hypothesis-database
-      uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
+      uses: actions/[email protected]
       with:
         path: ${{ env.CPYTHON_BUILDDIR }}/.hypothesis/
         key: hypothesis-database-${{ github.head_ref || github.run_id }}
@@ -468,7 +468,7 @@ jobs:
           -x test_subprocess \
           -x test_signal \
           -x test_sysconfig
-    - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # 
v7.0.1
+    - uses: actions/[email protected]
       if: always()
       with:
         name: hypothesis-example-db
@@ -489,7 +489,7 @@ jobs:
       PYTHONSTRICTEXTENSIONBUILD: 1
       ASAN_OPTIONS: detect_leaks=0:allocator_may_return_null=1:handle_segv=0
     steps:
-    - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+    - uses: actions/[email protected]
       with:
         persist-credentials: false
     - name: Runner image version
@@ -505,7 +505,7 @@ jobs:
         echo 
"LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> 
"$GITHUB_ENV"
     - name: 'Restore OpenSSL build'
       id: cache-openssl
-      uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
+      uses: actions/[email protected]
       with:
         path: ./multissl/openssl/${{ env.OPENSSL_VER }}
         key: ${{ matrix.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -536,7 +536,7 @@ jobs:
         - true
         sanitizer:
         - TSan
-    uses: ./.github/workflows/reusable-san.yml
+    uses: $/.github/workflows/reusable-san.yml
     with:
       sanitizer: ${{ matrix.sanitizer }}
       free-threading: ${{ matrix.free-threading }}
@@ -565,7 +565,7 @@ jobs:
 
     steps:
     - name: Check whether the needed jobs succeeded or failed
-      uses: re-actors/alls-green@b5b5b37504aa4183270bd3d855c52a67f212be35
+      uses: re-actors/[email protected]
       with:
         allowed-failures: >-
           build-android,
diff --git a/.github/workflows/jit.yml b/.github/workflows/jit.yml
index e810b6122564a7..c2d22d97c6b5ab 100644
--- a/.github/workflows/jit.yml
+++ b/.github/workflows/jit.yml
@@ -34,7 +34,7 @@ jobs:
     runs-on: ubuntu-latest
     timeout-minutes: 90
     steps:
-      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 
v7.0.1
+      - uses: actions/[email protected]
         with:
           persist-credentials: false
       - name: Build tier two interpreter
@@ -107,10 +107,10 @@ jobs:
     env:
       CC: ${{ matrix.compiler }}
     steps:
-      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 
v7.0.1
+      - uses: actions/[email protected]
         with:
           persist-credentials: false
-      - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # 
v7.0.0
+      - uses: actions/[email protected]
         with:
           python-version: '3.11'
 
@@ -174,10 +174,10 @@ jobs:
     runs-on: ubuntu-latest
     timeout-minutes: 90
     steps:
-      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 
v7.0.1
+      - uses: actions/[email protected]
         with:
           persist-credentials: false
-      - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # 
v7.0.0
+      - uses: actions/[email protected]
         with:
           python-version: '3.11'
       - name: Build with JIT enabled and GIL disabled
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index cd413cd4cfbaa0..0b89ebe92d367d 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -19,7 +19,22 @@ jobs:
     timeout-minutes: 10
 
     steps:
-      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 
v7.0.1
+      - uses: actions/[email protected]
         with:
           persist-credentials: false
-      - uses: j178/prek-action@4e14d07f9231acabce116ccfca13b13dd9755ece # 
v3.0.0
+      - uses: j178/[email protected]
+
+  # Fails when .github/workflows/actions.lock is out of sync with the
+  # workflows or a locked pin no longer verifies upstream.
+  lockfile:
+    runs-on: ubuntu-slim
+    timeout-minutes: 10
+    env:
+      GH_TOKEN: ${{ github.token }}
+
+    steps:
+      - uses: actions/[email protected]
+        with:
+          persist-credentials: false
+      - run: gh extension install github/gh-actions-lock --pin v0.4.1
+      - run: gh actions-lock --verify
diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml
index 6c1dbb7e9acc5a..230af0eb430ade 100644
--- a/.github/workflows/mypy.yml
+++ b/.github/workflows/mypy.yml
@@ -62,10 +62,10 @@ jobs:
           "Tools/peg_generator",
         ]
     steps:
-      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 
v7.0.1
+      - uses: actions/[email protected]
         with:
           persist-credentials: false
-      - uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # 
v10.2.0
+      - uses: astral-sh/[email protected]
         with:
           python-version: "3.13"
           activate-environment: true
diff --git a/.github/workflows/require-pr-label.yml 
b/.github/workflows/require-pr-label.yml
index 9700953d94c90b..70ea0d2e6ae552 100644
--- a/.github/workflows/require-pr-label.yml
+++ b/.github/workflows/require-pr-label.yml
@@ -17,7 +17,7 @@ jobs:
     timeout-minutes: 10
 
     steps:
-      - uses: 
mheap/github-action-required-labels@23e10fde7e062233401931a0eece796cd9bf3177 # 
v5.6.0
+      - uses: mheap/[email protected]
         with:
           mode: exactly
           count: 0
diff --git a/.github/workflows/reusable-check-c-api-docs.yml 
b/.github/workflows/reusable-check-c-api-docs.yml
index 636c960df4a086..ed4b3f86df4e00 100644
--- a/.github/workflows/reusable-check-c-api-docs.yml
+++ b/.github/workflows/reusable-check-c-api-docs.yml
@@ -15,10 +15,10 @@ jobs:
     runs-on: ubuntu-latest
     timeout-minutes: 5
     steps:
-      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 
v7.0.1
+      - uses: actions/[email protected]
         with:
           persist-credentials: false
-      - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # 
v7.0.0
+      - uses: actions/[email protected]
         with:
           python-version: '3.x'
       - name: Check for undocumented C APIs
diff --git a/.github/workflows/reusable-context.yml 
b/.github/workflows/reusable-context.yml
index 5e0ecf5b260616..7b76b106bb91a0 100644
--- a/.github/workflows/reusable-context.yml
+++ b/.github/workflows/reusable-context.yml
@@ -61,14 +61,14 @@ jobs:
       run-windows-tests: ${{ steps.changes.outputs.run-windows-tests }}
     steps:
     - name: Set up Python
-      uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # 
v7.0.0
+      uses: actions/[email protected]
       with:
         python-version: "3"
 
     - run: >-
         echo '${{ github.event_name }}'
 
-    - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+    - uses: actions/[email protected]
       with:
         persist-credentials: false
         ref: >-
diff --git a/.github/workflows/reusable-docs.yml 
b/.github/workflows/reusable-docs.yml
index a6d5aae9b040de..d499085fe5f3ff 100644
--- a/.github/workflows/reusable-docs.yml
+++ b/.github/workflows/reusable-docs.yml
@@ -38,7 +38,7 @@ jobs:
       refspec_pr: '+${{ github.event.pull_request.head.sha 
}}:remotes/origin/${{ github.event.pull_request.head.ref }}'
     steps:
     - name: 'Check out latest PR branch commit'
-      uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+      uses: actions/[email protected]
       with:
         persist-credentials: false
         ref: >-
@@ -63,7 +63,7 @@ jobs:
         git fetch origin "${refspec_base}" --shallow-since="${DATE}" \
           --no-tags --prune --no-recurse-submodules
     - name: 'Set up Python'
-      uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # 
v7.0.0
+      uses: actions/[email protected]
       with:
         python-version: '3'
         cache: 'pip'
@@ -96,10 +96,10 @@ jobs:
     runs-on: ubuntu-24.04
     timeout-minutes: 60
     steps:
-    - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+    - uses: actions/[email protected]
       with:
         persist-credentials: false
-    - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
+    - uses: actions/[email protected]
       with:
         path: ~/.cache/pip
         key: ubuntu-doc-${{ hashFiles('Doc/requirements.txt') }}
@@ -122,11 +122,11 @@ jobs:
     runs-on: ubuntu-latest
     timeout-minutes: 30
     steps:
-    - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+    - uses: actions/[email protected]
       with:
         persist-credentials: false
     - name: 'Set up Python'
-      uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # 
v7.0.0
+      uses: actions/[email protected]
       with:
         python-version: '3'
         cache: 'pip'
diff --git a/.github/workflows/reusable-install.yml 
b/.github/workflows/reusable-install.yml
index 3fa1897ce4b5a5..4ccdf5b4916284 100644
--- a/.github/workflows/reusable-install.yml
+++ b/.github/workflows/reusable-install.yml
@@ -17,7 +17,7 @@ jobs:
     env:
       PYTHONSTRICTEXTENSIONBUILD: 1
     steps:
-    - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+    - uses: actions/[email protected]
       with:
         persist-credentials: false
     - name: Register gcc problem matcher
diff --git a/.github/workflows/reusable-macos.yml 
b/.github/workflows/reusable-macos.yml
index eb5d5cf34212ab..154976e5650b8e 100644
--- a/.github/workflows/reusable-macos.yml
+++ b/.github/workflows/reusable-macos.yml
@@ -31,7 +31,7 @@ jobs:
       PYTHONSTRICTEXTENSIONBUILD: 1
       TERM: linux
     steps:
-    - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+    - uses: actions/[email protected]
       with:
         persist-credentials: false
     - name: Runner image version
diff --git a/.github/workflows/reusable-san.yml 
b/.github/workflows/reusable-san.yml
index 4464e81932447d..12034247e5dd0e 100644
--- a/.github/workflows/reusable-san.yml
+++ b/.github/workflows/reusable-san.yml
@@ -29,7 +29,7 @@ jobs:
     runs-on: ubuntu-24.04
     timeout-minutes: 60
     steps:
-    - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+    - uses: actions/[email protected]
       with:
         persist-credentials: false
     - name: Runner image version
@@ -96,7 +96,7 @@ jobs:
       run: find "${GITHUB_WORKSPACE}" -name 'san_log.*' | xargs head -n 1000
     - name: Archive logs
       if: always()
-      uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # 
v7.0.1
+      uses: actions/[email protected]
       with:
         name: >-
           ${{ inputs.sanitizer }}-logs-${{
diff --git a/.github/workflows/reusable-ubuntu.yml 
b/.github/workflows/reusable-ubuntu.yml
index d23c696b88b513..be1307600d1d30 100644
--- a/.github/workflows/reusable-ubuntu.yml
+++ b/.github/workflows/reusable-ubuntu.yml
@@ -29,7 +29,7 @@ jobs:
       PYTHONSTRICTEXTENSIONBUILD: 1
       TERM: linux
     steps:
-    - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+    - uses: actions/[email protected]
       with:
         persist-credentials: false
     - name: Register gcc problem matcher
@@ -43,7 +43,7 @@ jobs:
         echo 
"LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> 
"$GITHUB_ENV"
     - name: 'Restore OpenSSL build'
       id: cache-openssl
-      uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
+      uses: actions/[email protected]
       with:
         path: ./multissl/openssl/${{ env.OPENSSL_VER }}
         key: ${{ matrix.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
diff --git a/.github/workflows/reusable-wasi.yml 
b/.github/workflows/reusable-wasi.yml
index 436bb5013bdb75..c1a08a723655cd 100644
--- a/.github/workflows/reusable-wasi.yml
+++ b/.github/workflows/reusable-wasi.yml
@@ -20,17 +20,17 @@ jobs:
       WASI_SDK_PATH: /opt/wasi-sdk
       CROSS_BUILD_WASI: cross-build/wasm32-wasip1
     steps:
-    - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+    - uses: actions/[email protected]
       with:
         persist-credentials: false
     # No problem resolver registered as one doesn't currently exist for Clang.
     - name: "Install wasmtime"
-      uses: 
bytecodealliance/actions/wasmtime/setup@9152e710e9f7182e4c29ad218e4f335a7b203613
 # v1.1.3
+      uses: bytecodealliance/actions/wasmtime/[email protected]
       with:
         version: ${{ env.WASMTIME_VERSION }}
     - name: "Restore WASI SDK"
       id: cache-wasi-sdk
-      uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
+      uses: actions/[email protected]
       with:
         path: ${{ env.WASI_SDK_PATH }}
         key: ${{ runner.os }}-wasi-sdk-${{ env.WASI_SDK_VERSION }}
@@ -41,7 +41,7 @@ jobs:
         curl -s -S --location 
"https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VERSION}/wasi-sdk-${WASI_SDK_VERSION}.0-x86_64-linux.tar.gz";
 | \
         tar --strip-components 1 --directory "${WASI_SDK_PATH}" --extract 
--gunzip
     - name: "Install Python"
-      uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # 
v7.0.0
+      uses: actions/[email protected]
       with:
         python-version: '3.x'
     - name: "Runner image version"
diff --git a/.github/workflows/reusable-windows-msi.yml 
b/.github/workflows/reusable-windows-msi.yml
index 34545c2bb9937d..b370f517c7ddd4 100644
--- a/.github/workflows/reusable-windows-msi.yml
+++ b/.github/workflows/reusable-windows-msi.yml
@@ -23,7 +23,7 @@ jobs:
       ARCH: ${{ inputs.arch }}
       IncludeFreethreaded: true
     steps:
-    - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+    - uses: actions/[email protected]
       with:
         persist-credentials: false
     - name: Build CPython installer
diff --git a/.github/workflows/reusable-windows.yml 
b/.github/workflows/reusable-windows.yml
index 722f626b04960b..9707e01137882e 100644
--- a/.github/workflows/reusable-windows.yml
+++ b/.github/workflows/reusable-windows.yml
@@ -33,7 +33,7 @@ jobs:
     env:
       ARCH: ${{ inputs.arch }}
     steps:
-    - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+    - uses: actions/[email protected]
       with:
         persist-credentials: false
     - name: Register MSVC problem matcher
diff --git a/.github/workflows/verify-ensurepip-wheels.yml 
b/.github/workflows/verify-ensurepip-wheels.yml
index 4d0c5d21d5def2..89083b65d71bfa 100644
--- a/.github/workflows/verify-ensurepip-wheels.yml
+++ b/.github/workflows/verify-ensurepip-wheels.yml
@@ -25,10 +25,10 @@ jobs:
     runs-on: ubuntu-latest
     timeout-minutes: 10
     steps:
-      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 
v7.0.1
+      - uses: actions/[email protected]
         with:
           persist-credentials: false
-      - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # 
v7.0.0
+      - uses: actions/[email protected]
         with:
           python-version: '3'
       - name: Compare checksum of bundled wheels to the ones published on PyPI
diff --git a/.github/workflows/verify-expat.yml 
b/.github/workflows/verify-expat.yml
index 8f6847d52a14ea..9d7cbd687fc752 100644
--- a/.github/workflows/verify-expat.yml
+++ b/.github/workflows/verify-expat.yml
@@ -23,7 +23,7 @@ jobs:
     runs-on: ubuntu-latest
     timeout-minutes: 5
     steps:
-      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 
v7.0.1
+      - uses: actions/[email protected]
         with:
           persist-credentials: false
       - name: Download and verify bundled libexpat files
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 9428c4d7cb54bd..f3f3f93698b25e 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -36,7 +36,7 @@ repos:
         files: ^Tools/wasm/
 
   - repo: https://github.com/psf/black-pre-commit-mirror
-    rev: ea488cebbfd88a5f50b8bd95d5c829d0bb76feb8  # frozen: 26.1.0
+    rev: a5439e9af2ff9371297bb1a76a01b8ad17989b88  # frozen: 26.10.1
     hooks:
       - id: black
         name: Run Black on Tools/jit/
@@ -87,7 +87,7 @@ repos:
         files: '^\.github/CODEOWNERS|\.(gram)$'
 
   - repo: https://github.com/python-jsonschema/check-jsonschema
-    rev: 9f48a48aa91a6040d749ad68ec70907d907a5a7f  # frozen: 0.37.0
+    rev: a76b92851fc9eede9f9bc4073eb55202f34eb0df  # frozen: 0.39.0
     hooks:
       - id: check-github-workflows
       - id: check-readthedocs
@@ -98,7 +98,7 @@ repos:
       - id: actionlint
 
   - repo: https://github.com/zizmorcore/zizmor-pre-commit
-    rev: b546b77c44c466a54a42af5499dcc0dcc1a3193f  # frozen: v1.22.0
+    rev: 06a39750ec31860bb44f2acf67182c40016cd1e7  # frozen: v1.32.0
     hooks:
       - id: zizmor
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to