Skip to content

Add org-wide security review gate workflow - #2

Closed
ludov04 wants to merge 1 commit into
mainfrom
add-security-gate
Closed

Add org-wide security review gate workflow#2
ludov04 wants to merge 1 commit into
mainfrom
add-security-gate

Conversation

@ludov04

@ludov04 ludov04 commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

What

Adds a Security review workflow to conveo/.github, intended to be enforced org-wide via an organization ruleset ("Require workflows to pass before merging") rather than copied into every repo.

Why

New repos should automatically get a protected main with the security reviewer gating merges, without per-repo setup. An org ruleset targeting all repositories (current + future) + this centrally-defined required workflow achieves that. Because the ruleset injects this workflow into each target repo's merge gate, the target repo doesn't need its own copy.

Notes

  • The action is referenced by its cross-repo path (conveo/agentgateway/.github/actions/claude-security-review-via-gateway@main) rather than a local ./ path, since this workflow runs in the target repo's context, which doesn't contain that composite action.
  • Auth is GH OIDC through the agentgateway — no Anthropic key in any repo. Works for all repos because the gateway accepts any repo:conveo/ OIDC subject.
  • Fails closed: any HIGH/CRITICAL finding, a scanner error, or an incomplete scan blocks the merge.

Follow-up (after merge to main)

  1. Create the org ruleset: target All repositories, default branch, rules = require PR + block force-push + restrict deletion + Require workflows to passconveo/.github · .github/workflows/security-review.yml @ main.
  2. Confirm org Actions policy allows this workflow/action to run in every repo.

🤖 Generated with Claude Code

Enforced across repositories via an organization ruleset
("Require workflows to pass before merging"), so it runs against every PR
in every targeted repo without each repo checking in its own copy.

Runs Anthropic's claude-code-security-review action through Conveo's
agentgateway (GH OIDC auth, no Anthropic key in any repo) and fails closed
on HIGH/CRITICAL findings or an incomplete scan. The action is referenced
by its cross-repo path because this workflow executes in the target repo's
context.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ludov04 ludov04 closed this Jun 26, 2026
@ludov04
ludov04 deleted the add-security-gate branch June 26, 2026 08:02
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