-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding support to run twice #64
Conversation
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. Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
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. |
Co-authored-by: Yaroslav Halchenko <debian@onerussian.com>
action.yml
Outdated
@@ -43,6 +43,9 @@ inputs: | |||
allcontrib_skip_generate: | |||
description: "skip running all-contributors generate" | |||
default: false | |||
run_twice: | |||
description: "run twice to avoid opening two pull requests" | |||
default: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yarikoptic here is the default for INPUT_RUN_TWICE
Co-authored-by: Yaroslav Halchenko <debian@onerussian.com>
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
okay default is updated! 6855abe |
ping @yarikoptic ! |
sorry - fell off my radar. Thanks! Let's see it in action |
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