Skip to content

Instantly share code, notes, and snippets.

View bw-matthew's full-sized avatar

Matthew Franglen bw-matthew

View GitHub Profile
@bw-matthew
bw-matthew / replace-labels.js
Last active February 7, 2017 15:54 — forked from qubyte/replace-labels.js
Replace labels for a repo with standard set.
var token = '<insert token>';
var owner = '<insert owner>';
var repo = '<insert repo>';
var newLabels = [
{color: 'e10c02', name: 'Don\'t merge'},
{color: '3ad5e0', name: 'Passed QA'},
{color: '207de5', name: 'Passed review'},
{color: '02e10c', name: 'Waiting for branch'},
{color: 'eb6420', name: 'Waiting for QA'},