Skip to content

Instantly share code, notes, and snippets.

Avatar

Emiliano Viscarra Chompas

View GitHub Profile
@Chompas
Chompas / create_labels.sh
Last active Aug 17, 2018
Bash script to create multiple Github labels at once
View create_labels.sh
#!/usr/bin/env bash
# This is a modification from https://gist.github.com/omegahm/28d87a4e1411c030aa89
# Colours and convention picked from https://robinpowered.com/blog/best-practice-system-for-organizing-and-tagging-github-issues/
## Instructions
# Bash 4+ is needed because of associative arrays
# jq (https://stedolan.github.io/jq/)
# Create access Token from Github (https://help.github.com/articles/creating-an-access-token-for-command-line-use/) and save it under ".token" file
# Comment / Uncomment / Add, all the labels you want
You can’t perform that action at this time.