Skip to content

Instantly share code, notes, and snippets.

@KyMidd

KyMidd/asdf.sh Secret

Created November 20, 2022 18:56
Show Gist options
  • Select an option

  • Save KyMidd/23c2e50f367301afc65d727f0b088bba to your computer and use it in GitHub Desktop.

Select an option

Save KyMidd/23c2e50f367301afc65d727f0b088bba to your computer and use it in GitHub Desktop.
if [[ $(echo "$CURL" | grep -E "Problems|Not Found") ]]; then
echo "☠️ Something bad happened granting CI user access to the repo, please investigate response:"
echo "$CURL"
else
echo "💥 Successfully granted CI user write access to repo $GH_REPO"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment