Last active
July 28, 2016 11:12
-
-
Save andypotanin/c2f3308ac853ee42ee1f689c4b177b26 to your computer and use it in GitHub Desktop.
Concept from https://gist.github.com/rentzsch/4540430
This file contains 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
## export _REPO_FULL=UsabilityDynamics/www.exceedrealty.net | |
## curl -s --header "Authorization: token ${GITHUB_PERSONAL_TOKEN}" https://api.github.com/repos/${_REPO_FULL}/labels | |
# Delete default labels | |
curl -XDELETE -s --header "Authorization: token ${GITHUB_PERSONAL_TOKEN}" https://api.github.com/repos/${_REPO_FULL}/labels/bug | |
# Create New Labels | |
curl -XPOST -s --header "Authorization: token ${GITHUB_PERSONAL_TOKEN}" https://api.github.com/repos/${_REPO_FULL}/labels --data '{"name":"priority:low","color":"66aa00"}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment