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: 2 additions & 1 deletion .github/workflows/review-on-open.agent.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 2 additions & 8 deletions .github/workflows/review-on-open.agent.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: "Expert Code Review (on open)"
description: "Automatically runs the expert-reviewer agent when a non-draft PR is opened."
description: "Automatically runs the expert-reviewer agent when a non-draft PR is opened or a draft PR becomes ready for review."

# Non-draft PRs still trigger this workflow, including fork PRs.
# The `roles` setting below does not block triggering; it restricts
Expand All @@ -12,15 +12,9 @@ description: "Automatically runs the expert-reviewer agent when a non-draft PR i
# safe, the workflow checks out only the trusted base repo (see `checkout:`
# below) and the agent reviews the diff via GitHub MCP tools; it never
# executes PR code.
#
# NOTE: The gh-aw compiler does not support `ready_for_review` as a
# type for pull_request_target. Only `opened` is used here; for PRs
# transitioned from draft to ready, use the `/review` slash command.
# Add `ready_for_review` after https://github.com/github/gh-aw/issues/25436
# is fixed and deployed.
on:
pull_request_target:
types: [opened] # TODO: add ready_for_review (gh-aw#25436)
types: [opened, ready_for_review]
forks: ["*"]
Comment thread
VolPlita marked this conversation as resolved.
Resolved
roles: [admin, maintainer, write]

Expand Down
Loading