From d632baa08496464015448bd783c031e87a304cf2 Mon Sep 17 00:00:00 2001 From: Titus Date: Thu, 26 Nov 2026 02:07:34 +0100 Subject: [PATCH] The suites run on a pull request from this repository's own branches A fork's pull request starts nothing; dispatch stays as it was. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/e2e.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 1ca6ca1..12c2459 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -1,17 +1,23 @@ -# Lantern's suites, run on GitHub's machines (since 2026-10-26). Manual only: it runs when someone -# dispatches it (`gh workflow run e2e.yml --ref main`), never on a push or a pull request. It reads -# the repository and nothing else: no secret, so the live walks (live-*, frames*, leftovers), which -# need test accounts, run elsewhere. +# Lantern's suites, run on GitHub's machines (since 2026-10-26). It runs when someone dispatches it +# (`gh workflow run e2e.yml --ref main`) and on a pull request from a branch of this repository, +# never on a push and never for a fork's pull request. It reads the repository and nothing else: no +# secret, so the live walks (live-*, frames*, leftovers), which need test accounts, run elsewhere. name: e2e on: workflow_dispatch: + pull_request: permissions: contents: read +concurrency: + group: e2e-${{ github.event.pull_request.number || github.run_id }} + cancel-in-progress: true + jobs: suites: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository runs-on: ubuntu-24.04 timeout-minutes: 60 steps: