all-contributors / app

🤖 A GitHub App to automate acknowledging contributors to your open source projects
https://allcontributors.org
MIT License
576 stars 150 forks source link

Feature: refresh command #455

Open BoboTiG opened 1 year ago

BoboTiG commented 1 year ago

What: Proposal for https://github.com/all-contributors/all-contributors/issues/225, it adds the refresh command to refresh the contributors table.

Why:

How: I first had to split addContributor() to extract pull request code into a specialized function. Then I added the support for the new refresh action, and tests.

Checklist:

It's a first draft, hopefully it will be useful. If someone else wants to dig more (like adding better tests), it could be a good base.

vercel[bot] commented 1 year ago

@BoboTiG is attempting to deploy a commit to the All Contributors Team on Vercel.

A member of the Team first needs to authorize it.