From ef9cc045495b4c21804283e20bed529ce65be68d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Sun, 12 Jul 2026 01:36:16 +0200 Subject: [PATCH] chore: bump checkout@v2->v4 and setup-python@v1->v5 Both were forced onto Node 24 with deprecation warnings (Node 20 EOL on GitHub runners). persist-credentials: false is retained so the deploy step keeps using its own token. --- .github/workflows/pages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 67f26f085..a1991aed0 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -19,13 +19,13 @@ jobs: python_version: ['3.12'] steps: - name: Checkout 🛎️ - uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. + uses: actions/checkout@v4 # persist-credentials must be false so the deploy step below uses its own token, not the checkout credentials. with: submodules: 'recursive' persist-credentials: false - name: Setup Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python_version }}