From 9839d4b7aa82c6316164c43860db331279a67e7f Mon Sep 17 00:00:00 2001 From: Carly Gundy Date: Mon, 9 Dec 2024 18:47:46 +0100 Subject: [PATCH] fix --- .../repo_policies/bot_checks/check_bot_approved_files.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/reusable_workflows/repo_policies/bot_checks/check_bot_approved_files.py b/reusable_workflows/repo_policies/bot_checks/check_bot_approved_files.py index 392d75b..e7c71fc 100644 --- a/reusable_workflows/repo_policies/bot_checks/check_bot_approved_files.py +++ b/reusable_workflows/repo_policies/bot_checks/check_bot_approved_files.py @@ -25,8 +25,7 @@ def get_changed_files(merge_base_sha: str, branch_head_sha: str, repo_path: Opti commit_range = f"{merge_base_sha}..{branch_head_sha}" # debug current_branch = subprocess.run(["git", "branch"], capture_output=True, cwd=repo_path) - print(f"current branch: {current_branch.stdout}" - ) + print(f"current branch: {current_branch.stdout}") result = subprocess.run( ["git", "diff", "--name-only", commit_range], capture_output=True,