mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 12:50:38 +08:00
chore: add logging the reason not execute
This commit is contained in:
@ -101,6 +101,8 @@ async def run_action():
|
|||||||
await PRReviewer(pr_url).run()
|
await PRReviewer(pr_url).run()
|
||||||
if auto_improve is None or is_true(auto_improve):
|
if auto_improve is None or is_true(auto_improve):
|
||||||
await PRCodeSuggestions(pr_url).run()
|
await PRCodeSuggestions(pr_url).run()
|
||||||
|
else:
|
||||||
|
get_logger().info(f"Skipping action: {action}")
|
||||||
|
|
||||||
# Handle issue comment event
|
# Handle issue comment event
|
||||||
elif GITHUB_EVENT_NAME == "issue_comment" or GITHUB_EVENT_NAME == "pull_request_review_comment":
|
elif GITHUB_EVENT_NAME == "issue_comment" or GITHUB_EVENT_NAME == "pull_request_review_comment":
|
||||||
|
Reference in New Issue
Block a user