Skip to content

CI: add ABCD-managed gates (build/test/race, gitleaks, zizmor)#17

Merged
REPPL merged 1 commit into
mainfrom
ci/abcd-gates
Jul 18, 2026
Merged

CI: add ABCD-managed gates (build/test/race, gitleaks, zizmor)#17
REPPL merged 1 commit into
mainfrom
ci/abcd-gates

Conversation

@REPPL

@REPPL REPPL commented Jul 18, 2026

Copy link
Copy Markdown
Owner

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

  • check (macOS): gofmt, go build, go vet, go test ./..., and
    go test -race ./internal/.... macOS-only because Bauhaus links AppKit/systray
    via cgo and uses darwin-only syscalls — it doesn't build on Linux like the
    cross-platform siblings (cmd/bauhaus and several internal packages are
    darwin-specific).
  • gitleaks: full-history secret scan, run as a pinned + checksum-verified CLI
    (no GitHub Advanced Security dependency, supply chain hash-anchored). Previewed
    locally against all history: clean.
  • zizmor: workflow self-audit, digest-pinned image (pwn requests, template
    injection, unpinned uses, cache poisoning).

Also

SHA-pins release.yml's actions/checkout and actions/setup-go (were @v4/@v5
tags) — 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

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
@REPPL
REPPL merged commit 4244b1e into main Jul 18, 2026
6 checks passed
@REPPL
REPPL deleted the ci/abcd-gates branch July 18, 2026 11:33
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