Repository navigation
ci: publish releases with the reusable goreleaser-publish workflow - #850
Merged
Mzack9999 merged 1 commit intoDec 3, 2026
Merged
Conversation
Replace the release job in release.yml with a call to goreleaser-publish.yaml, the reusable workflow in projectdiscovery/workflows. It runs the same steps: check out the code, set up Go, log in to Docker Hub, and publish the release and images with projectdiscovery/actions/goreleaser. A manual run now has to start from a tag. The old job ran GoReleaser with --skip=validate on whatever ref started the run, which turns off GoReleaser's check that HEAD is the tagged commit. The reusable job also checks out the tag without persisting credentials, and the caller grants it only contents: write. Closes: #849 Refs: projectdiscovery/workflows#23 Signed-off-by: Dwi Siswanto <git@dw1.io>
Contributor
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters: 1
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including
|
Mzack9999
approved these changes
Dec 3, 2026
Mzack9999
deleted the
dwisiswant0/ci/publish-releases-with-the-reusable-goreleaser
branch
December 3, 2026 20:43
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Replace the release job in release.yml with a call to
goreleaser-publish.yaml, the reusable workflow in
projectdiscovery/workflows. It runs the same steps: check out the
code, set up Go, log in to Docker Hub, and publish the release and
images with projectdiscovery/actions/goreleaser.
A manual run now has to start from a tag. The old job ran GoReleaser
with --skip=validate on whatever ref started the run, which turns off
GoReleaser's check that HEAD is the tagged commit. The reusable job
also checks out the tag without persisting credentials, and the
caller grants it only contents: write.
Closes: #849
Refs: projectdiscovery/workflows#23