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
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