chore: add E2E rollup job and exempt emdashbot from PR compliance (#132)

Add a rollup job that gates on all 8 E2E shards so it can be a single
required check. Exempt emdashbot from PR template validation alongside
dependabot and renovate.
This commit is contained in:
Matt Kane
2026-04-02 21:23:10 +01:00
committed by GitHub
parent b82a5fe7d6
commit fd8f44cd24
2 changed files with 14 additions and 1 deletions

View File

@@ -166,6 +166,19 @@ jobs:
if: steps.playwright-cache.outputs.cache-hit != 'true' if: steps.playwright-cache.outputs.cache-hit != 'true'
- run: pnpm run --filter @emdash-cms/admin test - run: pnpm run --filter @emdash-cms/admin test
test-e2e-rollup:
name: E2E Tests
if: always()
needs: [test-e2e]
runs-on: ubuntu-latest
steps:
- name: Check E2E shard results
run: |
if [ "${{ needs.test-e2e.result }}" != "success" ]; then
echo "E2E tests failed or were cancelled"
exit 1
fi
test-e2e: test-e2e:
name: E2E tests (${{ matrix.shardIndex }}/${{ matrix.shardTotal }}) name: E2E tests (${{ matrix.shardIndex }}/${{ matrix.shardTotal }})
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@@ -11,7 +11,7 @@ permissions:
jobs: jobs:
check-pr: check-pr:
name: Validate PR name: Validate PR
if: github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]' if: github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]' && github.actor != 'emdashbot[bot]'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check PR template - name: Check PR template