Skip to content

Pull requests created outside the Laserfiche repository fail checks #37

@daniel-derzsi-codespring

Description

Currently, pull requests created from external repositories fail because GitHub does not share the repository secrets with external repositories.

Example:
https://github.com/Laserfiche/lf-api-js/actions/runs/22569353621/job/65373051863

FAIL lib/HttpHandlers/OAuthClientCredentialsHandler.test.ts
   Test suite failed to run

    Unable to load SERVICE_PRINCIPAL_KEY from .env

      10 |   process.env.SERVICE_PRINCIPAL_KEY ?? '';
      11 | if (!envServicePrincipalKey) {
    > 12 |   throw new Error(`Unable to load SERVICE_PRINCIPAL_KEY from .env`);
         |         ^
      13 | }
      14 | let accessKeyBase64: string = process.env.ACCESS_KEY ?? '';
      15 | if (!accessKeyBase64) {

      at ../testHelpers/cloudTestHelpers.ts:12:9

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