You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Fetch tags step (git fetch --force --tags) was removed before the GoReleaser action. GoReleaser typically requires all tags to be present to correctly determine the previous tag for changelog generation and version comparison. Removing this step may cause GoReleaser to fail or produce incorrect release notes if the shallow clone used by actions/checkout does not include all tags.
- name: Run GoReleaserif: ${{ steps.release.outputs.release_created }}uses: goreleaser/goreleaser-action@v6with:
The Go version specified is 1.25.6, which does not exist as of the current date. The latest stable Go versions are in the 1.22.x/1.23.x range. This may cause the actions/setup-go step to fail when a release is created.
The git fetch --force --tags step was removed, but GoReleaser typically requires all tags to be present to correctly determine the previous release and generate changelogs. Without fetching tags, GoReleaser may fail or produce incorrect release notes. Consider keeping the tag-fetching step or ensuring tags are fetched another way.
Why: The removal of the git fetch --force --tags step could cause GoReleaser to fail or produce incorrect release notes if tags are not already available. This is a valid concern, though some GoReleaser setups or checkout configurations may already handle tag fetching automatically.
Low
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
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.
PR Type
Enhancement, Other
Description
Restrict lint and test workflows to PR events on
mainonlyRemove
issues: writepermission from release-please workflowRemove redundant
Fetch tagsstep from release workflowDiagram Walkthrough
File Walkthrough
lint.yml
Restrict lint workflow to PRs targeting main.github/workflows/lint.yml
pushtrigger formainanddevelopbranchespull_requesttrigger targetingmainbranchrelease-please.yml
Remove unused permission and fetch tags step.github/workflows/release-please.yml
issues: writepermission from workflow permissionsFetch tagsstep from the release jobtest.yml
Restrict test workflow to PRs targeting main.github/workflows/test.yml
pushtrigger formainanddevelopbranchespull_requesttrigger targetingmainbranch