Skip to content

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

Open

Description

@kdmccormick

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.

Activity

  1. aht007 commented on Oct 20, 2022

    @aht007
    Contributor

    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.

  2. kdmccormick commented on Nov 4, 2022

    @kdmccormick
    MemberAuthor

    Good to know, thanks @aht007.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions