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.

    For more about the different replies the bot might send, see Usage.

  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.

  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.