openedx / openedx/codejail

Tests cannot be run on a PR from a fork

Open
#139 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.