Repository navigation
[code-update-service] Running code-update job: actions-node20-runtime-upgrade - #12
Open
code-update-service[bot] wants to merge 1 commit into
Open
code-update-service[bot] wants to merge 1 commit into
code-update-service[bot] wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
Changes: Build and packaging (1)
This PR updates GitHub Actions workflow uses: pins to newer major versions intended to remove Node.js 20 runtime deprecation warnings and align with the Node24 runtime migration.
Changes:
- Upgrade workflow action references (checkout/setup-node/cache/docker actions) to newer major versions.
- Replace some previously SHA-pinned
uses:references with version tags (e.g.@v5,@v6). - Update CI caching action version alongside other workflow action upgrades.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| .github/workflows/actions.yml | Bumps actions/checkout reference. |
| .github/workflows/website.yml | Bumps actions/checkout reference for website workflow. |
| .github/workflows/docker.yml | Bumps actions/checkout and Docker-related actions (metadata/login/build-push). |
| .github/workflows/ci.yml | Bumps checkout/setup-node/pnpm/action-setup/cache; reviewed pnpm cache output usage. |
Suppressed comments (3)
.github/workflows/actions.yml:15
- Actions are now referenced by a mutable tag (
@v5). For supply-chain hardening, pin GitHub Actions to a full commit SHA (and keep the version comment) so the executed code can’t change unexpectedly.
uses: actions/checkout@v5
.github/workflows/docker.yml:16
- Several actions in this workflow are now referenced by mutable tags (e.g.
@v5,@v6,@v4,@v7). For supply-chain hardening, pin theseuses:references to full commit SHAs (and keep the version comment) so the executed code can’t change unexpectedly.
uses: actions/checkout@v5
.github/workflows/ci.yml:40
- The pnpm cache dir output isn’t being set correctly, and the cache
pathexpression uses invalid syntax (${ env.dir }). As written, this will likely prevent caching from working.
- name: Get pnpm cache - Set output
id: pnpm-cache
run: echo "{dir}={pnpm cache dir}" >> $GITHUB_OUTPUT
- name: Cache pnpm
uses: actions/cache@v5
with:
path: ${ env.dir }
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| @@ -12,7 +12,7 @@ jobs: | |||
| runs-on: ubuntu-latest | |||
| @@ -13,22 +13,22 @@ jobs: | |||
| runs-on: ubuntu-latest | |||
|
|
||
| steps: | ||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
| - uses: actions/checkout@v5 |
| steps: | ||
| - name: checkout | ||
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
| uses: actions/checkout@v5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 This PR was raised by the code-update-service! 🤖.
This code update job updates outdated GitHub Actions pins that still trigger deprecated Node.js 20 runtime warnings.
It focuses on workflow action version upgrades to align with the Node24 runtime migration.
🤖 Changes are generated by claude-code. 🤖
⚙️ Workflow run: code-update-service#33405540718
Action Runtime Upgrade Summary
Update GitHub Actions version pins to eliminate Node.js 20 runtime deprecation warnings.
Actions upgraded
.github/workflows/actions.ymlactions/checkoutv4(SHA pin)v5.github/workflows/website.ymlactions/checkoutv4(SHA pin)v5.github/workflows/docker.ymlactions/checkoutv4(SHA pin)v5.github/workflows/docker.ymldocker/metadata-actionv4(SHA pin)v6.github/workflows/docker.ymldocker/login-actionv2(SHA pin)v4.github/workflows/docker.ymldocker/build-push-actionv4(SHA pin)v7.github/workflows/ci.ymlactions/checkoutv4(SHA pin)v5.github/workflows/ci.ymlactions/setup-node@master(rolling ref)v6.github/workflows/ci.ymlpnpm/action-setupv4.0.0(SHA pin)v6.github/workflows/ci.ymlactions/cachev3(SHA pin)v5Files changed
.github/workflows/actions.yml.github/workflows/website.yml.github/workflows/docker.yml.github/workflows/ci.ymlFiles not changed
.github/workflows/release.yml— only contains a reusable workflow call (out of scope).github/workflows/pr.yml— only contains reusable workflow calls (out of scope)Actions that could not be auto-resolved
.github/workflows/website.ymlthe-guild-org/shared-config/setup@mainthe-guild-org/shared-configrepo; only monorepo package tags exist.github/workflows/website.ymlthe-guild-org/shared-config/website-cf@mainthe-guild-org/shared-configrepo; only monorepo package tags exist