Skip to content

How to Add a Contributor

This walkthrough adds your first contributor with the All Contributors Bot. It assumes that you have installed the bot on your repository.

  1. Open an issue or a pull request

    The bot responds to comments in any issue or pull request of the repository. The natural place is the conversation where the person helped, such as the pull request that fixed a bug. To try the bot out, create a new issue.

  2. Mention the bot

    Comment with the bot’s name, the person’s username and their contribution type. Replace janedoe with a real GitHub username:

    @all-contributors please add @janedoe for doc
  3. Wait for the reply

    After a short moment, the bot replies in the same conversation with a link to a new pull request, for example “I’ve put up a pull request to add @janedoe! 🎉”. If it replies with something else, see Troubleshooting.

    A GitHub pull request conversation in which a maintainer comments that @allcontributors should add @trueberryless for code, design, content, infra and doc, and the allcontributors bot replies that it has put up a pull request.
  4. Review the pull request

    With the default settings, the pull request is titled docs: add janedoe as a contributor for doc, and it links back to your comment. It adds janedoe to the contributors list in .all-contributorsrc and updates the table in your README, or in the files you configured.

    The pull request that the bot opened, titled docs: add trueberryless as a contributor for code, design, and 3 more, with a description that says who asked for it.
  5. Merge it

    Once you merge the pull request, janedoe appears in the contributor table.

Add contributors explains how to credit several contribution types or several people at once.