We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3763841 commit 440ba43Copy full SHA for 440ba43
delete_github_org_secret.sh
@@ -18,9 +18,3 @@ response=$(curl -sL \
18
https://api.github.com/orgs/$ORGANIZATION/actions/secrets/$SECRET_NAME)
19
20
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