mirror of
https://github.com/zhigang1992/probot.github.io.git
synced 2026-01-12 22:49:53 +08:00
Update invite-contributors README
I fixed some mistakes regarding how to use my .yml and added a test coverage badge. :)
This commit is contained in:
@@ -13,20 +13,20 @@ updated: 2017-10-21 22:18:19 UTC
|
||||
|
||||
# invite-contributors
|
||||
|
||||
[](https://travis-ci.org/erickzhao/badge)
|
||||
[](https://travis-ci.org/erickzhao/invite-contributors) [](https://codecov.io/gh/erickzhao/invite-contributors)
|
||||
|
||||
**invite-contributors** is a GitHub App built with [probot](https://github.com/probot/probot) that automatically invites new contributors to your repository's organization once they get a Pull Request merged, giving them a *badge* to wear on their profile.
|
||||
**invite-contributors** is a GitHub App built with [probot](https://github.com/probot/probot) that automatically invites new contributors to your repository's organization once they get a Pull Request merged.
|
||||
|
||||
## Usage
|
||||
|
||||
1. Configure the GitHub App.
|
||||
2. invite-contributors will automatically invite new users who have their pull requests merged to your organization.
|
||||
3. If you want to add new contributors to a specific team in your organization, add a `.github/badge.yml` file into your repository such as below. Note that entering the team name and team slug are both valid formats.
|
||||
3. If you want to add new contributors to a specific team in your organization, add a `.github/invite-contributors.yml` file into your repository such as below. *Note that entering the team name and team slug are both valid formats.*
|
||||
```
|
||||
# team name
|
||||
MY TEAM NAME
|
||||
team: MY TEAM NAME
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
Anyone can contribute with [issues](https://github.com/erickzhao/invite-contributors/issues) and [PRs](https://github.com/erickzhao/invite-contributors/pulls). If you're submitting a pull request, always create a new branch to work your changes, and try squashing commits down if possible. Always test any new code and make sure `npm test` passes before opening a PR.
|
||||
Anyone can contribute with [issues](https://github.com/erickzhao/invite-contributors/issues) and [PRs](https://github.com/erickzhao/invite-contributors/pulls). If you're submitting a pull request, always create a new branch to work your changes, and try squashing commits down if possible. Always test any new code and make sure `npm test` passes and code coverage is adequate before opening a PR.
|
||||
|
||||
Reference in New Issue
Block a user