con / tributors

Pay tribute to your contributors! A tool to automatically update contributor files.
https://con.github.io/tributors/
Apache License 2.0
13 stars 5 forks source link

adding support to run twice #64

Closed vsoch closed 2 years ago

vsoch commented 2 years ago

Sometimes we add a new contributor on a run, and once we have basic metadata a second PR is opened shortly after with this additional metadata (that we could not look up before because we did not have them recorded). This change will add a new variable run_twice to the action to allow the user to run the workflow twice instead of once to reduce the updates to one PR.

I will test the branch on one of my projects where I'm expecting contributors to be found, and it would need to be run twice!

Signed-off-by: vsoch vsoch@users.noreply.github.com

vsoch commented 2 years ago

Worked like a charm! The first run added new contributors and all metadata, then the second run didn't find anything. (no second PR). Right now it's sort of a bug that the first update finds new GitHub aliases, and then it takes a second one to use other extractors to get metadata about them.

vsoch commented 2 years ago

okay default is updated! https://github.com/con/tributors/pull/64/commits/6855abef3ec107d98ab46a88b23ecb301734518d

vsoch commented 2 years ago

ping @yarikoptic !

yarikoptic commented 2 years ago

sorry - fell off my radar. Thanks! Let's see it in action