Comment on a pull request on GitHub from your CI
npm install ci-github-comment
-
Set a
github_token
in your CI settings. You can create a personal access token on GitHub here -
In your code:
const comment = require('ci-github-comment')
comment('this is the content') // returns a promise
⭐ this repo
MIT © siddharthkp