Skip to content

Commit 520c177

Browse files
authored
Merge pull request qodo-ai#654 from rajyan/rajyan-patch-2
add pull_request event triggers for github action
2 parents 74a2ee5 + 4e77542 commit 520c177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pr_agent/servers/github_action_runner.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ async def run_action():
7979
# Handle pull request event
8080
if GITHUB_EVENT_NAME == "pull_request":
8181
action = event_payload.get("action")
82-
if action in ["opened", "reopened"]:
82+
if action in ["opened", "reopened", "ready_for_review", "review_requested"]:
8383
pr_url = event_payload.get("pull_request", {}).get("url")
8484
if pr_url:
8585
# legacy - supporting both GITHUB_ACTION and GITHUB_ACTION_CONFIG

0 commit comments

Comments
 (0)