chore: add logging the reason not execute

This commit is contained in:
idubnori
2024-03-27 12:03:27 +09:00
parent fa889fbb06
commit 493f73f1ce

View File

@ -101,6 +101,8 @@ async def run_action():
await PRReviewer(pr_url).run()
if auto_improve is None or is_true(auto_improve):
await PRCodeSuggestions(pr_url).run()
else:
get_logger().info(f"Skipping action: {action}")
# Handle issue comment event
elif GITHUB_EVENT_NAME == "issue_comment" or GITHUB_EVENT_NAME == "pull_request_review_comment":