Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/behaviorbot/first-pr-merge

Congratulate users when their first PR is merged into your repository
https://github.com/behaviorbot/first-pr-merge

github-app probot probot-app

Last synced: 2 months ago
JSON representation

Congratulate users when their first PR is merged into your repository

Awesome Lists containing this project

README

        

# first-pr-merge

> a GitHub App built with [probot](https://github.com/probot/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**
- [x] check the box for **Pull Request** events
2. Add a `.github/config.yml` file that contains the contents you would like to reply within a `firstPRMergeComment`
```yml
# 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](https://github.com/probot/probot/blob/master/docs/deployment.md) if you would like to run your own instance of this plugin.