From bcf9f92e31a16b4148ecd64daf07ba1e3afd61ad Mon Sep 17 00:00:00 2001 From: "Claude (Off The Clock)" <328231633+otc-pm@users.noreply.github.com> Date: Thu, 5 Nov 2026 13:12:23 -0500 Subject: [PATCH] Pin GitHub Actions to 40-char commit SHAs in CI workflow (#479) Pin actions/checkout to 11d5960a326750d5838078e36cf38b85af677262 (v4.4.0) with persist-credentials: false and actions/setup-python to a26af69be951a213d495a4c3e4e4022e16d87065 (v5.6.0). Refs offtheclocksoftware/otc-team#479. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c71242a..1fd12ee 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,8 +17,10 @@ jobs: python: ["3.10", "3.12", "3.13"] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 + with: + persist-credentials: false + - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 with: python-version: ${{ matrix.python }} - name: Run the tests (standard library only, nothing to install)