Repository navigation
chore: update obsolete GitHub Actions to latest major versions #2457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,7 +28,7 @@ jobs: | |
| steps: | ||
| # Trusted tree only: wrangler.toml must not come from PR checkout (no PR-controlled [build] on the deploy runner). | ||
| # PR/fork Worker + static files ship in the Build Site artifact under _bundle/; we copy only public/ and worker/ (never extract TOML from the zip into cloudflare_site/). | ||
| - uses: actions/checkout@v6.0.2 | ||
| - uses: actions/checkout@v7 | ||
|
|
||
| - uses: actions/setup-node@v6 | ||
| with: | ||
|
|
@@ -40,7 +40,7 @@ jobs: | |
| run: npm ci | ||
|
|
||
| - name: Download build artifact | ||
| uses: actions/download-artifact@v4 | ||
| uses: actions/download-artifact@v8 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [low] api-contract upload-artifact is bumped to @v7 in site-build.yml but download-artifact is bumped to @v8 in site-deploy.yml. These actions form a producer-consumer pair for the site artifact across the build-deploy pipeline. The asymmetric major version bump should be verified against the v8 changelog. Suggested fix: Verify cross-version compatibility, or align both to the same major version. |
||
| with: | ||
| name: site | ||
| path: _bundle | ||
|
|
@@ -81,7 +81,7 @@ jobs: | |
| - name: Resolve preview context (PR number + preview alias) | ||
| id: preview-context | ||
| if: success() | ||
| uses: actions/github-script@v8 | ||
| uses: actions/github-script@v9 | ||
| with: | ||
| script: | | ||
| const run = context.payload.workflow_run; | ||
|
|
@@ -220,7 +220,7 @@ jobs: | |
|
|
||
| - name: GitHub Deployment + preview comment | ||
| if: steps.meta.outcome == 'success' | ||
| uses: actions/github-script@v8 | ||
| uses: actions/github-script@v9 | ||
| env: | ||
| DEPLOYMENT_URL: ${{ steps.meta.outputs.deployment_url }} | ||
| PREVIEW_PR_NUMBER: ${{ steps.preview-context.outputs.pr_number }} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[low] api-contract
upload-artifact is bumped to @v7 (site-build.yml) but download-artifact is bumped to @v8 (site-deploy.yml). These actions are independently versioned and likely cross-compatible, but the version skew across the build-deploy artifact handoff pipeline should be verified.
Suggested fix: Verify cross-version compatibility, or align both to the same major version.