Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .fernignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ SECURITY.md
# entry itself; it is repeated here because this patch replaces the whole
# file, and dropping the line would remove protection the generator added.
cli/agentmail/custom.rs

# The automated-review workflow is hand-added; the generator would delete it as an unknown file.
.github/workflows/ai-review.yml
21 changes: 21 additions & 0 deletions .github/workflows/ai-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: AI review

# Asks the shared automated reviewer (agentmail-to/ai-review) for an approval when an engineer adds the
# `ai-review` label. Adding the label is the engineer's statement that they reviewed the change and accept
# responsibility for merging it on automated approval alone. The reviewer's workflow, script and prompt run
# from that repository's `main`, so a PR here cannot change its own reviewer, and the PR's code is never
# checked out or run.
on:
pull_request_target:
types: [labeled, synchronize]

permissions:
contents: read
pull-requests: read

jobs:
review:
uses: agentmail-to/ai-review/.github/workflows/review.yml@main
secrets:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
AI_REVIEWER_PRIVATE_KEY: ${{ secrets.AI_REVIEWER_PRIVATE_KEY }}
Loading