Skip to content

Instantly share code, notes, and snippets.

@KyMidd

KyMidd/asdf.sh Secret

Created November 20, 2022 18:54
Show Gist options
  • Save KyMidd/0c1e4358847923cc0b8a6db2c31c0174 to your computer and use it in GitHub Desktop.
Save KyMidd/0c1e4358847923cc0b8a6db2c31c0174 to your computer and use it in GitHub Desktop.
curl -s -X PATCH \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GITHUB_TOKEN" \
https://api.github.com/repos/$GH_ORG/$GH_REPO \
-d '{"delete_branch_on_merge":true,"private":true}' #The data payload of settings to deliver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment