Skip to content

A probot app which can create a pull request on comment in a corresponding issue

License

Notifications You must be signed in to change notification settings

jainkeval/pr-on-comment

Repository files navigation

pr-on-comment

a GitHub App built with probot

A probot app which can create a pull request on comment in a corresponding issue

This probot app creates a pull request regarding the issue on which one comments. If user comments on an issue using the phrase "Create PR" in it and providing the branch-name from which the PR is to be made then automatically the mentioned branch of the user's fork and master of the repository gets compared and a PR is created.

STEPS TO BE FOLLOWED:

  1. Get the app installed from https://github.com/apps/pr-on-comment on your project repository (let it's name be 'yourrepo').
  2. A contributor should fork and push commits to the fork.
  3. Suppose the contributor with username 'developer' pushes commits to the branch 'new' of his fork.
  4. He should comment on the corresponding issue as <any text here> Create PR <any text here> "head":<space>"new"; <any text here>
  5. The Pull Request will be created comparing 'developer:new' to 'yourrepo:master'.

-----------------------------------------

a GitHub App built with probot

Setup Locally

# Install dependencies
npm install

# Run the bot
npm start

See docs/deploy.md if you would like to run your own instance of this app.

About

A probot app which can create a pull request on comment in a corresponding issue

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published