Skip to content

siddharthkp/github-comment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



Comment on a pull request/issue on GitHub

 

usage

npm install github-comment

 

In your code:

const comment = require('github-comment')

// comment(token, repo, issueId, body)
comment('secret_github_token', 'siddharthkp/github-comment', 1, 'this is a comment')
  .then(response => console.log(response))
  .catch(error => console.log(error))

you can create a personal access token on GitHub here

 

like it?

⭐ this repo

 

license

MIT © siddharthkp

About

Comment on a pull request

Resources

License

Stars

Watchers

Forks

Packages

No packages published