You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: extend forbidden-secret guard to .goreleaser.yaml (HOMEBREW_TAP_GITHUB_TOKEN negative-space assertion) #439
TestReleaseWorkflow_CallsShip's forbidden-substring guard
(cmd/gaze/release_workflow_test.go:131) scans only release.yml bytes.
PR #436 also removes token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}" from .goreleaser.yaml — the only other live consumer of the old secret name — but
no test reads .goreleaser.yaml. The secret's name can be reintroduced in the
goreleaser config with every check green: PR CI never runs GoReleaser, and
yamllint checks syntax only.
Suggested fix
Extend the negative-space assertion to each live consumer: read .goreleaser.yaml in this test and assert HOMEBREW_TAP_GITHUB_TOKEN is
absent (keeping the existing release.yml scan).
Activity