Skip to content

Instantly share code, notes, and snippets.

@coloredcow-admin
coloredcow-admin / github_labels.js
Last active January 5, 2023 08:42
GitHub labels for repository
// how to run this script
// Step 1: Copy this gist.
// Step 2: Open the labels page in your GitHub repository where you want to set up the labels.
// Step 3: Open Browser Inspector tool and go to Console tab.
// Step 4: Paste the gist in the console and hit enter. The script will delete all the existing labels and create the new ones.
var labels = [
{
"name": "priority : critical",
"color": "b60205"