-
Notifications
You must be signed in to change notification settings - Fork 558
ci: update some actions to the latest version #25857
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
base: main
Are you sure you want to change the base?
ci: update some actions to the latest version #25857
Conversation
actions/github-script actions/labeler actions/upload-artifact beatlabs/delete-old-branches-action dawidd6/action-download-artifact errata-ai/vale-action Lehoczky/render-nunjucks-template-action marocchino/sticky-pull-request-comment
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.
Pull Request Overview
This PR updates several GitHub Actions to their latest versions, improving workflow security and functionality. The updates include major version bumps for actions/upload-artifact (v4→v5), actions/labeler (v4→v6), and dawidd6/action-download-artifact (v6→v11), along with minor version updates for several other actions.
Key Changes:
- Updated
actions/upload-artifactto v5 across multiple workflows - Updated
actions/labelerto v6 for PR labeling workflows - Updated artifact download actions to v11 for cross-workflow artifact retrieval
- Updated various third-party actions (
marocchino/sticky-pull-request-comment,beatlabs/delete-old-branches-action, etc.) to their latest versions - Standardized ratchet version references to use major version tags (@v5, @v6) instead of specific versions
Reviewed Changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/website-validation.yml | Updated checkout, upload-artifact (v4→v5), and download-artifact actions; contains version incompatibility issue |
| .github/workflows/stale-branches.yml | Updated delete-old-branches-action to v0.0.11 |
| .github/workflows/release-notes-issue.yml | Updated checkout and render-nunjucks-template-action to v1.1.0 |
| .github/workflows/release-branches.yml | Updated upload-artifact to v5 |
| .github/workflows/release-approval.yml | Updated checkout and dawidd6 download-artifact to v11 |
| .github/workflows/push-tag-create-release.yml | Updated upload-artifact to v5 and ncipollo/release-action to v1.20.0 |
| .github/workflows/pr-validation.yml | Updated ratchet version references for codeowners-validator and pr-comment-checker |
| .github/workflows/pr-release-branch-warning.yml | Updated marocchino/sticky-pull-request-comment to v2.9.4 |
| .github/workflows/pr-labeler.yml | Updated actions/labeler to v6 and srvaroa/labeler to v1.13.0 |
| .github/workflows/pr-check-changeset.yml | Updated upload-artifact to v5 |
| .github/workflows/pr-changeset-review.yml | Updated ratchet version reference for vale-action |
| .github/workflows/linkcheck-reporter.yml | Updated dawidd6 download-artifact to v11 and sticky-pull-request-comment to v2.9.4 |
| .github/workflows/changeset-reporter.yml | Updated dawidd6 download-artifact to v11 and sticky-pull-request-comment to v2.9.4 |
Co-authored-by: Copilot <[email protected]>
- Migrate from v4 to v6 configuration format - Use changed-files with any-glob-to-any-file structure - Required for actions/labeler@v6 breaking changes
Resolved merge conflicts in workflow files by accepting upstream v5 of actions/checkout
| # release notes: https://github.com/actions/download-artifact/releases/tag/v4.1.8 | ||
| uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # ratchet:actions/download-artifact@v4 | ||
| # release notes: https://github.com/actions/download-artifact/releases/tag/v5.0.0 | ||
| uses: actions/download-artifact@a1b6e7e2e2e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1 # ratchet:actions/download-artifact@v5 |
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.
Copilot seems to have hallucinated some SHAs in this file.
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.
Hahaha any sha will do!
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.
I'll rerun ratchet and verify
Updates the following actions to their latest versions: