diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6eb3df7baa..fc53a5e11c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -70,7 +70,7 @@ jobs: files: core/coverage/lcov.info,core-bootstrap/coverage/lcov.info,angular/headless/coverage/lcov.info,svelte/preprocess/coverage/lcov.info flags: unit disable_search: true - use_oidc: true + use_oidc: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) }} - run: npm run -w verdaccio verdaccio-publish - if: inputs.version != '' run: | diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index e7d9b1d89e..e5fe9832fe 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -47,7 +47,7 @@ jobs: with: directory: coverage flags: e2e - use_oidc: true + use_oidc: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) }} - uses: actions/setup-node@v4 with: node-version: '20.x'