node.js - Is there a grunt plugin for submitting a pull request to github? -
seems useful tool people contribute open source libraries. i'll take answer off air.
yes. use github-api package: https://www.npmjs.org/package/github-api
(from docs)
create pull request.
var pull = { title: message, body: "this pull request has been automatically generated prose.io.", base: "gh-pages", head: "michael" + ":" + "prose-patch", }; repo.createpullrequest(pull, function(err, pullrequest) {});
Comments
Post a Comment