mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 19:05:18 +00:00
chore: add logging the reason not execute
This commit is contained in:
parent
fa889fbb06
commit
493f73f1ce
1 changed files with 2 additions and 0 deletions
|
|
@ -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":
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue