Skip to content

ci(release): harden tagged release workflow - #14

Merged
GuoMonth merged 1 commit into
mainfrom
chore/workflow-hardening
Apr 17, 2026
Merged

GuoMonth merged 1 commit into
mainfrom
chore/workflow-hardening

Conversation

@GuoMonth

Copy link
Copy Markdown
Owner

Summary

  • add an explicit verify job so tag-triggered releases only proceed after build, test, vet, and lint pass in the release workflow itself
  • tighten permissions to the minimum needed per job and make the release build contract explicit with CGO_ENABLED=0
  • make artifact packaging, upload, download, and post-release digest verification more explicit and defensive

Validation

  • ruby YAML parsing for .github/workflows/release.yml and .github/workflows/ci.yml
  • make check
  • make validate

Add an explicit verify job so tag-triggered releases only proceed after build, test, vet, and lint pass in the release workflow itself. Tighten job permissions, make the no-CGO release build contract explicit, disable matrix fail-fast, and make artifact handoff and digest verification paths more explicit and defensive.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@GuoMonth
GuoMonth merged commit 7fcbda2 into main Apr 17, 2026
2 checks passed
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