From 943abb6477cdb2449b6f3c9a02f9c364ef4daba2 Mon Sep 17 00:00:00 2001 From: Jesse Wright <63333554+jeswr@users.noreply.github.com> Date: Tue, 1 Aug 2023 20:01:34 +1000 Subject: [PATCH] chore: skip e2e tests for dependabot --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c74b0f10..b7eb9e84 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,12 @@ jobs: - run: npm run build - run: npx playwright install --with-deps - run: npm run e2e:test:setup - - run: npm t + - # Dependabot cannot access secrets, so it doesn't have a token to authenticate to ESS. + # We want jobs in this workflow to be gating PRs, so the whole matrix must + # run even for dependabot so that the matrixed jobs are skipped, instead + # of the whole pipeline. + if: ${{ github.actor != 'dependabot[bot]' }} + run: npm t env: E2E_DEMO_CLIENT_APP_URL: http://localhost:3001 E2E_TEST_USER: ${{ secrets.E2E_TEST_USER }}