Tests cannot be run on a PR from a fork
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 479
- Forks
- 84
- Avg merge
- 16h 34m
- Merged PRs (30d)
- 2
Description
See https://github.com/openedx/codejail/pull/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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the GitHub Actions workflows used by pull request 138 and trace how tests obtain credentials when the pull request comes from a fork. Reproduce the run from an external fork and confirm that tests complete without requiring unavailable organization secrets.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, python
- Domain
- ci-cd, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100