Skip to content

ci: publish releases with the reusable goreleaser-publish workflow - #850

Merged
Mzack9999 merged 1 commit into
devfrom
dwisiswant0/ci/publish-releases-with-the-reusable-goreleaser
Dec 3, 2026
Merged

Mzack9999 merged 1 commit into
devfrom
dwisiswant0/ci/publish-releases-with-the-reusable-goreleaser

Conversation

@dwisiswant0

Copy link
Copy Markdown
Member

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

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>
@dwisiswant0
dwisiswant0 requested a review from Mzack9999 December 3, 2026 09:51
@coderabbitai

coderabbitai Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters: 1

  • .github/workflows/release.yml is excluded by !**/*.yml

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: ae4362cb-aa77-4930-b4de-a3ae756e75c5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@Mzack9999
Mzack9999 merged commit e696f3e into dev Dec 3, 2026
4 checks passed
@Mzack9999
Mzack9999 deleted the dwisiswant0/ci/publish-releases-with-the-reusable-goreleaser branch December 3, 2026 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Publish releases with the reusable goreleaser-publish workflow

2 participants