chore: upgrade actions to Node 24 runtime (SHA-pinned) - #51
Open
John C. Bland II (johncblandii) wants to merge 2 commits into
Open
chore: upgrade actions to Node 24 runtime (SHA-pinned)#51John C. Bland II (johncblandii) wants to merge 2 commits into
John C. Bland II (johncblandii) wants to merge 2 commits into
Conversation
Copilot started reviewing on behalf of
John C. Bland II (johncblandii)
August 13, 2026 17:06
View session
There was a problem hiding this comment.
Pull request overview
This PR upgrades selected GitHub Action dependencies to Node 24–based releases and switches them to SHA-pinned references with tag/version comments, improving runtime compatibility and supply-chain safety.
Changes:
- Update
actions/github-scriptusage to a SHA pinned tov9.0.0in both the composite action and the test workflow. - Update
actions/checkoutusage to a SHA pinned tov7.0.1in the test workflow. - Update
nick-fields/assert-actionusage to a SHA pinned tov4.0.1in the test workflow.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
action.yml |
Pins actions/github-script to v9.0.0 SHA within the composite action. |
.github/workflows/test-positive.yml |
Pins actions/github-script, actions/checkout, and nick-fields/assert-action to specific SHAs with version comments. |
Suppressed comments (1)
action.yml:37
pr_numberis treated as a string and there’s no fallback to the event context when it’s not provided, even though the input description says it will default to extracting from the workflow event. This can lead toremoveLabelbeing called with an empty/invalidissue_number, and also logs a misleading “No label to remove” whenlabelexists butpr_numberis missing.
const label = '${{ steps.label.outputs.output }}';
const prNumber = '${{ inputs.pr_number }}';
if (label) {
try {
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| PR_TITLE: 'Test ${{ steps.context.outputs.label }}' | ||
|
|
||
| - uses: actions/github-script@v6 | ||
| - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 |
| - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 | ||
| id: pr | ||
| with: | ||
| script: | |
Author
|
Follow-up (889abfa): also bumped |
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.
what
SHA-pinned with precise version comments:
actions/checkout@v3→@3d3c42e5...# v7.0.1actions/github-script@v6|v7→@3a2844b7...# v9.0.0nick-fields/assert-action@v1→@0efd6166...# v4.0.1why
are already being force-migrated to Node 24
matching the org's direction in chore: upgrade actions to Node 24 runtime and enforce SHA pinning .github#261
Supersedes #50
Supersedes #49
Supersedes #47
references