Skip to content

Instantly share code, notes, and snippets.

@KyMidd

KyMidd/asdf.sh Secret

Created November 20, 2022 18:55
Show Gist options
  • Save KyMidd/7d6fe6b82cc1bec552b18b20e75e8707 to your computer and use it in GitHub Desktop.
Save KyMidd/7d6fe6b82cc1bec552b18b20e75e8707 to your computer and use it in GitHub Desktop.
CURL=$(curl -s \
-X PUT \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GITHUB_TOKEN" \
https://api.github.com/orgs/$GH_ORG/teams/ci/repos/$GH_ORG/$GH_REPO \
-d '{"permission":"admin"}' 2>&1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment