mirror of
https://github.com/lukaszraczylo/shared-actions.git
synced 2026-10-12 04:54:48 +00:00
A release run used to fail at the GoReleaser step when a secret was empty, after the tests and the version job had finished. A new preflight action checks the required names, the .Env references in the GoReleaser config and push access to optional repositories. It lists every problem in one run. The release and release-cgo workflows run it in a first job, so a missing secret fails in seconds. The release-cgo workflow requires GORELEASER_PRO. The release workflow requires the secrets that the GoReleaser config references. Set the preflight input to false to skip the check. Set preflight-repos to check access to a Homebrew tap or helm-charts repository.