Fix: Bump outdated actions/checkout, upload-artifact, and download-artifact - #7
Merged
Merged
Conversation
…tifact These were left on v4 during the earlier CI modernization pass instead of their true latest majors: checkout v4 -> v7, upload-artifact v4 -> v7, download-artifact v4 -> v8. Verified our fetch-depth/name/path/ retention-days/if-no-files-found usage is unaffected by the intervening breaking changes (Node 24 runtime bumps, upload-artifact v7's opt-in unzipped-upload mode we don't use, download-artifact v8's content-type check which is compatible with v7's default zipped uploads).
There was a problem hiding this comment.
Pull request overview
This PR updates GitHub Actions used in CI workflows to newer major versions to keep the pipeline aligned with current upstream action releases.
Changes:
- Bump
actions/checkoutfromv4tov7in the build and publish workflows. - Bump
actions/upload-artifactfromv4tov7in the build workflow. - Bump
actions/download-artifactfromv4tov8in the publish workflow.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/publish-workflow.yml | Updates checkout and download-artifact majors used during release creation. |
| .github/workflows/build-workflow.yml | Updates checkout and upload-artifact majors used during the build and artifact upload. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/checkout@v7 |
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.
Summary
actions/checkoutv4 -> v7,actions/upload-artifactv4 -> v7,actions/download-artifactv4 -> v8.fetch-depth,name,path,retention-days,if-no-files-found): the only changes were a Node 24 runtime bump (already met by GitHub-hosted runners), a fork-PR checkout restriction that only applies topull_request_target/workflow_runtriggers (unused here), and upload-artifact v7's opt-in unzipped-upload mode (not used) — confirmed compatible with download-artifact v8's default zipped-download handling.Test plan
fetch-depth,name,path,retention-days,if-no-files-found) changed behavior across the intervening majors