Skip to content

fix(ci): merge goreleaser into release workflow#11

Merged
artyomsv merged 3 commits intomasterfrom
fix/goreleaser-workflow
Mar 24, 2026
Merged

fix(ci): merge goreleaser into release workflow#11
artyomsv merged 3 commits intomasterfrom
fix/goreleaser-workflow

Conversation

@artyomsv
Copy link
Owner

Tags pushed with GITHUB_TOKEN don't trigger other workflows. Merged the goreleaser job into release.yml as a second job that runs after the version bump job, checking out the tagged commit directly.

artyomsv and others added 3 commits March 24, 2026 12:28
Tags pushed with GITHUB_TOKEN don't trigger other workflows.
Merged the goreleaser job into release.yml as a second job
that runs after the version bump job, checking out the tagged
commit directly.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
- Fix goreleaser job running during dry_run (boolean vs string bug)
  by forwarding DRY_RUN through job outputs as string
- Add version validation step before checkout to fail fast
- Pin all actions to immutable commit SHAs (checkout, setup-go,
  goreleaser-action) for supply-chain security
- Move permissions to per-job blocks for least-privilege
- Use shallow clone (fetch-depth: 1) for goreleaser job since
  changelog generation is disabled
- Remove duplicate version regex (validate once, before checkout)

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@artyomsv artyomsv merged commit 7ab6f9a into master Mar 24, 2026
4 checks passed
@artyomsv artyomsv deleted the fix/goreleaser-workflow branch March 24, 2026 11:46
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.

1 participant