Skip to content

Update all the github actions to latest versions#451

Open
joaopapereira wants to merge 1 commit into
carvel-dev:developfrom
joaopapereira:update-github-action-version
Open

Update all the github actions to latest versions#451
joaopapereira wants to merge 1 commit into
carvel-dev:developfrom
joaopapereira:update-github-action-version

Conversation

@joaopapereira

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Joao Pereira <joaopapereira@gmail.com>
Copilot AI review requested due to automatic review settings June 10, 2026 14:56

Copilot AI left a comment

Copy link
Copy Markdown

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 modernizes the project’s release automation by upgrading the GitHub Actions used for releases and updating the GoReleaser configuration to the v2 config format expected by newer GoReleaser tooling.

Changes:

  • Update goreleaser/goreleaser-action to v7.2.2 and adjust GoReleaser CLI args to use newer flags.
  • Update actions/github-script to v9 and migrate Octokit calls to github.rest.*.
  • Update .goreleaser.yml to version: 2, including renaming snapshot/changelog fields and removing archive replacements.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.goreleaser.yml Migrates GoReleaser config to v2 and updates related fields (snapshot/changelog) for compatibility with newer tooling.
.github/workflows/release.yml Bumps release workflow actions and updates API usage for actions/github-script@v9.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +40 to 42
- uses: actions/github-script@v9
id: get-checksums-from-draft-release
if: startsWith(github.ref, 'refs/tags/') && ${{ !env.ACT }}
- name: Run GoReleaser
# GoReleaser v4.2.0
uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b
# GoReleaser v7.2.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants