chore(deps): update github actions (major)#1527
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1527 +/- ##
==========================================
+ Coverage 80.42% 80.49% +0.06%
==========================================
Files 127 127
Lines 16398 16398
==========================================
+ Hits 13188 13199 +11
+ Misses 3210 3199 -11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
This needs a bit of thought, may break release job. |
fac135d to
16019f3
Compare
|
Agreed, given we're about to start tagging the RC1, maybe it's a good time to give them a chance... I wonder if we should update our usage of the actions/attest-build-provenance action, according to the changelog: Note As of version 4, actions/attest-build-provenance is simply a wrapper on top of actions/attest. Existing applications may continue to use the attest-build-provenance action, but new implementations should use actions/attest instead. Maybe we should follow the advice |
5f7866a to
36dc860
Compare
viccuad
left a comment
There was a problem hiding this comment.
Given that we use globs for upload, I believe this will definitely break the release.
cf4aabb to
9fec299
Compare
cd0eb67 to
fe90ee1
Compare
fe90ee1 to
352a14a
Compare
352a14a to
cc01b72
Compare
cc01b72 to
61e0fdd
Compare
61e0fdd to
133f394
Compare
133f394 to
d8acc53
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
There was a problem hiding this comment.
Pull request overview
This PR updates several GitHub Actions used across CI, release automation, and dependency update workflows to newer major versions, and adjusts the release-drafter setup to align with release-drafter v7’s split autolabeler.
Changes:
- Bump major versions of multiple actions (create-github-app-token, download/upload-artifact, setup-helm, attest-build-provenance, release-drafter).
- Update Release Drafter workflow to v7 token input format and separate autolabeler into its own workflow.
- Reformat/adjust
.github/release-drafter.ymlautolabeler configuration structure and quoting.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/update-dependencies.yaml |
Updates actions/create-github-app-token to v3.0.0 SHA pin. |
.github/workflows/release.yml |
Updates actions/download-artifact to v8.0.1 SHA pin for release asset assembly. |
.github/workflows/release-drafter.yml |
Updates release-drafter to v7.1.1 and switches to with: token. Removes embedded autolabeler trigger. |
.github/workflows/open-release-pr.yml |
Updates create-github-app-token to v3.0.0 and azure/setup-helm to v5.0.0. |
.github/workflows/ci.yml |
Updates azure/setup-helm to v5.0.0 for helm unit tests job. |
.github/workflows/build-kwctl.yml |
Updates attest-build-provenance to v4.1.0 and upload-artifact to v7.0.0. |
.github/workflows/autolabeler.yml |
Adds new workflow to run release-drafter autolabeler on PR events. |
.github/release-drafter.yml |
Updates quoting and autolabeler config structure for release-drafter v7. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Release drafter has a dedicated github action to run the auto labeler. This commit creates a new CI workflow to run it as well as fix the configuration file following the new syntax. Signed-off-by: José Guilherme Vanz <jguilhermevanz@suse.com>
914215c to
574a125
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
As far as I can see, we can merge this updates. The upload-arfitact changes should not be a problem because we do not upload files using blobs. Furthermore, the feature mentioned in the changelog is disable by default:
And the download-artifact update should not be an issue neither. The change is that it will try to unzip only zipped files. But all the artifacts it downloads from our CI are zipped. Besides that, I've fixed the release-drafter configuration and CI files |
viccuad
left a comment
There was a problem hiding this comment.
Thanks! Looking forward to have the autolabeler back.
I would expect the autolabeler to need write permissions for the issues/prs at least, but I'm happy merging and seeing.
Surprise! #1608 |
This PR contains the following updates:
v3.2.0→v4.1.0v2.2.2→v3.0.0v7.0.0→v8.0.1v6.0.0→v7.0.0v4.3.1→v5.0.0v6.4.0→v7.1.1Release Notes
actions/attest-build-provenance (actions/attest-build-provenance)
v4.1.0Compare Source
What's Changed
actions/attestfrom 4.0.0 to 4.1.0 by @bdehamer in #838@actions/attestfrom 3.0.0 to 3.1.0 by @bdehamer in actions/attest#362@actions/attestfrom 3.1.0 to 3.2.0 by @bdehamer in actions/attest#365subject-versioninput for inclusion in storage record by @bdehamer in actions/attest#364Full Changelog: actions/attest-build-provenance@v4.0.0...v4.1.0
v4.0.0Compare Source
What's Changed
Full Changelog: actions/attest-build-provenance@v3.2.0...v4.0.0
actions/create-github-app-token (actions/create-github-app-token)
v3.0.0Compare Source
NODE_USE_ENV_PROXYfor proxy support (#342) (4451bcb)Bug Fixes
BREAKING CHANGES
actions/download-artifact (actions/download-artifact)
v8.0.1Compare Source
What's Changed
Full Changelog: actions/download-artifact@v8...v8.0.1
v8.0.0Compare Source
v8 - What's new
Direct downloads
To support direct uploads in
actions/upload-artifact, the action will no longer attempt to unzip all downloaded files. Instead, the action checks theContent-Typeheader ahead of unzipping and skips non-zipped files. Callers wishing to download a zipped file as-is can also set the newskip-decompressparameter tofalse.Enforced checks (breaking)
A previous release introduced digest checks on the download. If a download hash didn't match the expected hash from the server, the action would log a warning. Callers can now configure the behavior on mismatch with the
digest-mismatchparameter. To be secure by default, we are now defaulting the behavior toerrorwhich will fail the workflow run.ESM
To support new versions of the @actions/* packages, we've upgraded the package to ESM.
What's Changed
errorby @danwkennedy in #461Full Changelog: actions/download-artifact@v7...v8.0.0
actions/upload-artifact (actions/upload-artifact)
v7.0.0Compare Source
v7 What's new
Direct Uploads
Adds support for uploading single files directly (unzipped). Callers can set the new
archiveparameter tofalseto skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. Thenameparameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file.ESM
To support new versions of the
@actions/*packages, we've upgraded the package to ESM.What's Changed
New Contributors
Full Changelog: actions/upload-artifact@v6...v7.0.0
azure/setup-helm (azure/setup-helm)
v5.0.0Compare Source
release-drafter/release-drafter (release-drafter/release-drafter)
v7.1.1Compare Source
What's Changed
Bug Fixes
Full Changelog: release-drafter/release-drafter@v7.1.0...v7.1.1
v7.1.0Compare Source
What's Changed
New
Bug Fixes
Maintenance
Documentation
Full Changelog: release-drafter/release-drafter@v7.0.0...v7.1.0
v7.0.0Compare Source
What's Changed
Breaking
Bug Fixes
Maintenance
Documentation
Other changes
Dependency Updates
Full Changelog: release-drafter/release-drafter@v6.4.0...v7.0.0
Configuration
📅 Schedule: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.