ci(e2e): prefix E2E check names so branch protection can match them #477
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/BUNYIP-478-e2e-check-names"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Rename the two E2E job/check names to a shared
E2E /prefix so a single branch-protection pattern can match them:Playwright against deployment->E2E / deployment(e2e.yml; push to main + workflow_dispatch, the main/deploy check, never runs on a PR)Install + reachability (no deployment secrets)->E2E / PR gate(e2e-pr.yml; pull_request, credential-free, the actual per-PR check)Why (BUNYIP-478)
Branch protection matches required checks by name pattern. The intended E2E PR gate was matched by nothing:
Playwright against deploymenthas nopull_requesttrigger (BUNYIP-425), so it is never reported on a PR to satisfy a requirement, and the real PR check (Install + reachability ...) carried no E2E-shaped token, so anE2E-shaped pattern matched neither. The team believed the PR gate was enforced when it was not.With the shared prefix, one
E2E /*required-check pattern matches both, and branch protection can requireE2E / PR gateon pull requests whileE2E / deploymentstays reporting-only on main.Scope
e2e,e2e-pr), triggers,env:secret scope, and concurrency groups are unchanged.check-workflow-secrets.shandcheck-runner-labels.shboth pass.#BUNYIP-478