Skip to content

Instantly share code, notes, and snippets.

@andypotanin
Last active July 28, 2016 11:12
Show Gist options
  • Save andypotanin/c2f3308ac853ee42ee1f689c4b177b26 to your computer and use it in GitHub Desktop.
Save andypotanin/c2f3308ac853ee42ee1f689c4b177b26 to your computer and use it in GitHub Desktop.
## 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