Skip to content

Commit

Permalink
chore: add logging the reason not execute
Browse files Browse the repository at this point in the history
  • Loading branch information
idubnori committed Mar 27, 2024
1 parent fa889fb commit 493f73f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pr_agent/servers/github_action_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit 493f73f

Please sign in to comment.