Skip to content

Migrate gh-pages workflow to Node 22 and harden GITHUB_TOKEN permissions#933

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/migrate-github-actions-node-22-24
Draft

Migrate gh-pages workflow to Node 22 and harden GITHUB_TOKEN permissions#933
Copilot wants to merge 2 commits intomainfrom
copilot/migrate-github-actions-node-22-24

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 22, 2026

GitHub is deprecating Node 20 runners (hard cutoff September 2026). The gh-pages-build.yml workflow was pinned to ubuntu-20.04 and Node 16, with a stale actions/checkout@master duplicate step and an undefined matrix.node-version reference.

Changes to gh-pages-build.yml

  • Runner: ubuntu-20.04ubuntu-latest
  • Node: 16.x22 (current LTS)
  • Checkout: removed duplicate actions/checkout@master step; kept @v4
  • Step name: removed dangling ${{ matrix.node-version }} (no matrix defined)
  • Permissions: added explicit permissions: contents: write to scope GITHUB_TOKEN to the minimum required for the gh-pages deploy

codeql-analysis.yml was already on actions/checkout@v4 and ubuntu-latest — no changes needed.

Copilot AI changed the title [WIP] Migrate GitHub Actions to Node 22/24 to avoid runner deprecation Migrate gh-pages workflow to Node 22 and harden GITHUB_TOKEN permissions Apr 22, 2026
Copilot AI requested a review from roblarsen April 22, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate GitHub Actions to Node 22/24 to Avoid Runner Deprecation

2 participants