Skip to content
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 cannot be run on a PR from a fork #139

Open
kdmccormick opened this issue Oct 3, 2022 · 2 comments
Open

Tests cannot be run on a PR from a fork #139

kdmccormick opened this issue Oct 3, 2022 · 2 comments

Comments

@kdmccormick
Copy link
Member

See #138, which I opened from my personal fork of codejail.

When trying to run tests, GHA shows:

Error: Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers

This is probably because my fork doesn't have access to secrets from the openedx organization.

This is not an issue from 2U or for most of tCRIL, but is an issue for anyone trying to contribute from an external organization.

@aht007
Copy link
Member

aht007 commented Oct 20, 2022

This is expected behavior since the CI image is hosted on edX's ECR account and talking about that, would it make more sense if the CI docker image was hosted on openedX's dockerhub account since this is an openedX repo now. And even when the image is hosted there, forks would still need to setup some secrets for the login etc in CI. But currently there is no way forks can run tests since they wouldn't have access to the ECR registry that contains the image.

@kdmccormick
Copy link
Member Author

Good to know, thanks @aht007.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants