-
-
Save KyMidd/fea187cd3dc9be623cbfa896ef13d544 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ~ 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}' | jq | grep -E 'allow_' | |
| "allow_forking": false, | |
| "allow_squash_merge": true, | |
| "allow_merge_commit": true, | |
| "allow_rebase_merge": true, | |
| "allow_auto_merge": false, | |
| "allow_update_branch": true, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment