From 7cd79d35638d45cd7da45ee65d51d20b81e95509 Mon Sep 17 00:00:00 2001 From: Tomas Kikutis Date: Thu, 19 Dec 2024 20:40:01 +0100 Subject: [PATCH] test if develop branch exists in github actions --- grep-lint.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/grep-lint.py b/grep-lint.py index aa78da6d18..e785d94785 100644 --- a/grep-lint.py +++ b/grep-lint.py @@ -55,6 +55,10 @@ def get_command(branch=None): any_rule_violated = False + +print('git branch output:') +print(subprocess.check_output(["git", "branch"], stderr=subprocess.STDOUT).decode('utf-8')) + for rule in rules_to_check: rule_regex = rule['perl_regex'] rule_name = rule['name']