From ea2d7a3271c26f1ba42ea294450768c3f0b4dbd1 Mon Sep 17 00:00:00 2001 From: dickhardt Date: Sat, 13 Jun 2026 19:17:17 +0100 Subject: [PATCH] chore: bump GitHub Actions to Node-24-compatible majors Node 20 runtime for JS actions is deprecated (forced to Node 24 on 2026-06-16, removed 2026-09-16). Bump GitHub-maintained actions to latest majors across the workflows: - actions/checkout -> v6 - actions/cache -> v5 - actions/upload-artifact -> v7 Also add '.github/**' to ghpages.yml paths-ignore so CI-config changes don't republish the editor's copy (matches the openid connect-* repos and makes this branch safe to push without triggering a Pages deploy). Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/archive.yml | 4 ++-- .github/workflows/ghpages.yml | 8 +++++--- .github/workflows/publish.yml | 6 +++--- .github/workflows/update.yml | 2 +- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/archive.yml b/.github/workflows/archive.yml index 7e52cd2..8a11d01 100644 --- a/.github/workflows/archive.yml +++ b/.github/workflows/archive.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Checkout" - uses: actions/checkout@v2 + uses: actions/checkout@v6 - name: "Update Archive" uses: martinthomson/i-d-template@v1 @@ -28,6 +28,6 @@ jobs: token: ${{ github.token }} - name: "Save Archive" - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: path: archive.json diff --git a/.github/workflows/ghpages.yml b/.github/workflows/ghpages.yml index 60279f6..ba0ecce 100644 --- a/.github/workflows/ghpages.yml +++ b/.github/workflows/ghpages.yml @@ -7,12 +7,14 @@ on: - CONTRIBUTING.md - LICENSE.md - .gitignore + - '.github/**' pull_request: paths-ignore: - README.md - CONTRIBUTING.md - LICENSE.md - .gitignore + - '.github/**' permissions: contents: write @@ -26,14 +28,14 @@ jobs: VENVDIR: /tmp/.venv steps: - name: "Checkout" - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: "Setup" id: setup run: date -u "+::set-output name=date::%FT%T" - name: "Caching" - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ${{ env.XML2RFC_REFCACHEDIR }} @@ -57,7 +59,7 @@ jobs: token: ${{ github.token }} - name: "Archive Built Drafts" - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: path: | draft-*.html diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 827d8e5..aa070a9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Checkout" - uses: actions/checkout@v4 + uses: actions/checkout@v6 # See https://github.com/actions/checkout/issues/290 - name: "Get Tag Annotations" @@ -22,7 +22,7 @@ jobs: run: date -u "+::set-output name=date::%FT%T" - name: "Caching" - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ${{ env.XML2RFC_REFCACHEDIR }} @@ -44,6 +44,6 @@ jobs: make: upload - name: "Archive Submitted Drafts" - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: path: "draft-*-[0-9][0-9].xml" diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 7a67007..55eec77 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Checkout" - uses: actions/checkout@v2 + uses: actions/checkout@v6 - name: "Update Generated Files" uses: martinthomson/i-d-template@v1