Skip to content

Add .github/ai-gate.yml for the AI review gate - #603

Open
Flipmonster wants to merge 1 commit into
masterfrom
ai-gate-config
Open

Flipmonster wants to merge 1 commit into
masterfrom
ai-gate-config

Conversation

@Flipmonster

@Flipmonster Flipmonster commented Nov 12, 2026 •

Copy link
Copy Markdown

Adds .github/ai-gate.yml. With this file in place, a pull request whose Cursor Bugbot review is clean is approved automatically, so it doesn't wait for a reviewer.

  • Forks still need a maintainer. A pull request from a fork, which is how outside contributions arrive, never gets an automated approval.
  • Some files always need a person. That's workflows, actions, CODEOWNERS, the Cursor configuration and this file, whatever the review says.
  • This file does nothing on its own. Auto-approval also has to be switched on for the repository centrally.
  • To turn it off, delete this file.

Note

Low Risk
Adds a single GitHub config file with no runtime or security logic changes.

Overview
Adds .github/ai-gate.yml so this repo opts into automated PR approval when Cursor Bugbot’s review is clean (reviewers: [bugbot]). With the file missing, the AI review gate can still run, but a human must approve.

This does not enable auto-approval by itself—that still requires central repo settings. Per the PR notes, fork PRs and certain paths (workflows, CODEOWNERS, Cursor config, this file, etc.) remain human-reviewed.

Reviewed by Cursor Bugbot for commit 143f3e0. Bugbot is set up for automated code reviews on this repo. Configure here.

@ccoltx

ccoltx commented Nov 16, 2026

Copy link
Copy Markdown

Need to reopen

@ccoltx ccoltx closed this Nov 16, 2026
@ccoltx ccoltx reopened this Nov 16, 2026
@security-ai-gate-reviewer

Copy link
Copy Markdown

AI review gate — auto-approval withheld

The AI review gate is green and the organisation enrolled this repository for auto-approval, but master has no .github/ai-gate.yml, which is the repository's own opt-in; without it the approver approves nothing here.

What to do: add .github/ai-gate.yml on master (a person approves that pull request), or ask someone with write access who is not the PR author to approve this one.

History (latest 5 heads, newest first)

  • 143f3e0be6e5 withheld — no .github/ai-gate.yml on the base branch

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.

2 participants