CI: add ABCD-managed gates (build/test/race, gitleaks, zizmor)#17
Merged
Conversation
Ports the CI gate pattern from the sibling ABCD-managed repos (ferry, abcd-cli), adapted for Bauhaus: - check (macOS): gofmt, build, vet, test, and race tests over the platform-independent internal packages. macOS-only because Bauhaus links AppKit/systray via cgo and uses darwin syscalls — it does not build on Linux like the cross-platform siblings. - gitleaks: full-history secret scan as a pinned, checksum-verified CLI (no Advanced Security dependency). Previewed locally: clean. - zizmor: workflow self-audit as a digest-pinned image. Also SHA-pins release.yml's actions/checkout and actions/setup-go (were @v4/@v5 tags), which the zizmor unpinned-uses gate requires. Assisted-by: Claude:claude-fable-5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ports the CI gate pattern from the sibling ABCD-managed repos (
ferry,abcd-cli), adapted for Bauhaus. All three jobs pass on this branch.Gates
gofmt,go build,go vet,go test ./..., andgo test -race ./internal/.... macOS-only because Bauhaus links AppKit/systrayvia cgo and uses darwin-only syscalls — it doesn't build on Linux like the
cross-platform siblings (
cmd/bauhausand severalinternalpackages aredarwin-specific).
(no GitHub Advanced Security dependency, supply chain hash-anchored). Previewed
locally against all history: clean.
injection, unpinned uses, cache poisoning).
Also
SHA-pins
release.yml'sactions/checkoutandactions/setup-go(were@v4/@v5tags) — required by the zizmor unpinned-uses gate, and good supply-chain hygiene.
Once merged I'll (or you can) keep these three as required status checks in branch
protection so they gate every PR.
Assisted-by: Claude:claude-fable-5