-
Notifications
You must be signed in to change notification settings - Fork 6
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
Nextflow installation issues in GHA #5
Comments
The action uses the GitHub API to parse out version numbers. If you run 1000 pipelines in an hour, then you can overload your API token, which is what happened in the first example. You can bump this up to 5000 pipelines per hour (with caveats) if you provide a user token. See https://docs.github.com/en/rest/overview/resources-in-the-rest-api#requests-from-github-actions. The second example doesn't use this action, so I don't know what happened there. The third example links to a run that completed successfully for me. The rate limit can be avoided entirely using the old method of Manual install
Action
|
This might be able to be overcome using conditional requests. I will look into that more. |
Another idea (i.e. note-to-self): graph TD;
start(Start)-->octokit[Try to access Octokit API to get the list of Nextflow releases];
octokit-->octokitsuccess{Was Octokit query successful?};
octokitsuccess--Yes-->normal[Proceed as normal];
octokitsuccess--No-->checkcache[Check Octokit cache for tag];
checkcache-->cachesuccess{Does Octokit cache contain tag?};
cachesuccess--Yes-->warn[Issue warning to user];
warn-->install[Install Nextflow];
normal-->addcache[Add Octokit results to Octokit cache];
addcache-->install;
install-->endproc(End);
cachesuccess--No-->error[Throw exception];
error-->enderror(Process failed)
|
Any news on this? :) |
@nvnieuwk: reponse in Slack |
Hey!,
i am running into various issues with the Nextflow installation in my Github action runs:
a couple of examples:
https://github.com/nf-core/modules/actions/runs/3454606071/jobs/5766033679
The text was updated successfully, but these errors were encountered: