Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit 0f0fa4e

Browse files
Update scripts/configure_branch_protection.sh
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent d91da95 commit 0f0fa4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/configure_branch_protection.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ then
2828
fi
2929

3030
gh api --method PUT "repos/BlueCentre/cli-code/branches/main/protection" \
31-
--input branch_protection.json || { echo "Failed to apply branch protection rules"; rm branch_protection.json; exit 1; }
31+
--input branch_protection.json || { echo "Failed to apply branch protection rules: $?"; rm branch_protection.json; exit 1; }
3232

3333
# Clean up
3434
rm branch_protection.json

0 commit comments

Comments
 (0)