From 388684e2e86207e92131ac5432c965e6ea81e264 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Mon, 25 Sep 2023 18:19:35 +0300 Subject: [PATCH] none --- pr_agent/servers/github_action_runner.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pr_agent/servers/github_action_runner.py b/pr_agent/servers/github_action_runner.py index d1a0f119..98334339 100644 --- a/pr_agent/servers/github_action_runner.py +++ b/pr_agent/servers/github_action_runner.py @@ -55,13 +55,13 @@ async def run_action(): if action in ["opened", "reopened"]: pr_url = event_payload.get("pull_request", {}).get("url") if pr_url: - auto_review = os.environ.get('github_action.auto_review') + auto_review = os.environ.get('github_action.auto_review', None) if auto_review is None or auto_review.lower() == 'true': await PRReviewer(pr_url).run() - auto_describe = os.environ.get('github_action.auto_describe') + auto_describe = os.environ.get('github_action.auto_describe', None) if auto_describe.lower() == 'true': await PRDescription(pr_url).run() - auto_improve = os.environ.get('github_action.auto_improve') + auto_improve = os.environ.get('github_action.auto_improve', None) if auto_improve.lower() == 'true': await PRCodeSuggestions(pr_url).run()