Skip to content

Commit 440ba43

Browse files
DEVOPS-48 final commit
1 parent 3763841 commit 440ba43

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

delete_github_org_secret.sh

-6
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,3 @@ response=$(curl -sL \
1818
https://api.github.com/orgs/$ORGANIZATION/actions/secrets/$SECRET_NAME)
1919

2020

21-
# Checking if the request was successful (status code 200)
22-
if [[ "$response" == *"Status: 204"* ]]; then
23-
echo "Secret $SECRET_NAME deleted successfully from organization $ORGANIZATION"
24-
else
25-
echo "Failed to delete secret $SECRET_NAME from organization $ORGANIZATION"
26-
fi

0 commit comments

Comments
 (0)