Skip to content

Commit 55228c6

Browse files
author
Grenston George
authored
Update automate-branch-rules.py
1 parent b0f8448 commit 55228c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

automate-branch-rules.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def remove_one():
4141
branch = repo.get_branch(branch_name)
4242
if (branch.protected):
4343
branch.remove_protection()
44-
print("Removed branch protection rules for: " + repo.name)
44+
print("Removed branch protection rules for: " + repo.name + "," + branch_name)
4545
else:
4646
print("No branch protection rules for: " + repo.name + "," + branch.name)
4747

@@ -52,7 +52,7 @@ def remove_all():
5252
branch = repo.get_branch(branch_name)
5353
if (branch.protected):
5454
branch.remove_protection()
55-
print("Removed branch protection rules for: " + repo.name)
55+
print("Removed branch protection rules for: " + repo.name + "," + branch_name)
5656
else:
5757
print("No branch protection rules for: " + repo.name + "," + branch.name)
5858

0 commit comments

Comments
 (0)