Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.25 KB

README.md

File metadata and controls

31 lines (22 loc) · 1.25 KB

first-pr-merge

a GitHub App built with probot that welcomes new users when their first pull request is merged in. You can use this message to congratulate users or thank them for their contirbutions. It should be located in a .github/config.yml

screen shot 2017-07-17 at 1 58 37 pm

Usage

  1. Install the bot on the intended repositories. The plugin requires the following Permissions and Events:
  • Pull requests: Read & Write
    • check the box for Pull Request events
  1. Add a .github/config.yml file that contains the contents you would like to reply within a firstPRMergeComment
# Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge

# Comment to be posted to on Pr's merged by a first time user
firstPRMergeComment: >
  Congrats on merging your first pull request! We here at behaviorbot are proud of you!

Setup

# Install dependencies
npm install

# Run the bot
npm start

See the probot deployment docs if you would like to run your own instance of this plugin.