Github.removeLabelFromIssue()

Remove a label from an issue on GitHub.

Usage

Hover over inputs/exits for more info.

var Github = require('machinepack-github');


// Remove a label from an issue on GitHub.

Github.removeLabelFromIssue({

owner: 'balderdashy',

repo: 'sails',

issueNumber: 237,

label: 'Waiting to close',

: ,

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function () {

 

},

});

Inputs

owner required

The name of the organization or user that owns the repo (i.e. as it appears in the URL on GitHub)

'balderdashy'
repo required

The name of the Github repo (i.e. as it appears in the URL on GitHub)

'sails'
issueNumber required

The number of the issue to add a label to.

237
label required

The label to remove.

'Waiting to close'
undefined

Exits

error

An unexpected error occurred.

success

OK.