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

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -