Skip to content
Shell script to create labels on GitHub using CLI
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
create-github-labels.sh

README.md

Create a set of labels on GitHub

Useful helper to standardize labels across all your projects.

Usage

  1. Download the script

  2. Interactive prompt:

./create-github-labels

OR

Silent, if $GITHUB_TOKEN is set in environment and repository provided as an argument:

./create-github-labels myorg/myrepo

Provided labels

Screenshot of labels

An example of the pull request progression through labels:

DO NOT REVIEW -> Needs review -> Ready for test -> Ready to be merged

Modifying labels

You may specify your own labels in the script with name, color and description.

You can’t perform that action at this time.