mirror of
https://github.com/block/buzz.git
synced 2026-11-25 10:42:26 +00:00
Add gated security reviews (#6816)
Add a gated Codex security review for Buzz pull requests. Reviews run automatically for Block organization members. External PRs require a `@buzz-security-review` comment from a Block member, and every new external push invalidates the previous result. Codex reviews the PR SHA in a read-only, network-restricted job with no write GitHub token. A separate trusted job validates and sanitizes structured findings before posting them. The workflow uses the dedicated `CODEX_REVIEW_API_KEY` secret. --------- Signed-off-by: Jordan Mecom <jm@squareup.com>
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -89,6 +89,8 @@ jobs:
|
||||
scripts/test-mobile-release-candidate-publisher.sh
|
||||
- name: Mobile worktree identity contract
|
||||
run: scripts/test-mobile-worktree-overrides.sh
|
||||
- name: Codex security review contract
|
||||
run: just security-review-check
|
||||
- name: Rust cache contract
|
||||
run: |
|
||||
scripts/test-rust-cache-contract.sh
|
||||
|
||||
Reference in New Issue
Block a user