-
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
Tests action isn't working for PRs? #14
Comments
its hard to check whether APIKEY stored in the secrets is bad but I reset it anyway. Are you able to re-run tests on your end? |
With the exception of GITHUB_TOKEN, secrets are not passed to the runner when a workflow is triggered from a forked repository so env variable is probably getting set to an empty value. A new extra check should catch this; however, unit test should first validate API key and provide more helpful feedback. Dependabot pull requests are treated as though they are from a fork which is the reason those are failing as well. https://stackoverflow.com/questions/58737785/github-actions-empty-env-secrets |
addresses #14 workflow fails because secrets are not passed to the runner when a workflow is triggered from a forked repository
Hi,
Within this repo, I have done three PRs where the tests worked in our forked environments but not here
Example
My latest PR with the same code
In ontoportal-lirmm
In NCBO
The text was updated successfully, but these errors were encountered: