diff --git a/.github/workflows/e2e-expo.yml b/.github/workflows/e2e-expo.yml index 6ad092848..debd440e8 100644 --- a/.github/workflows/e2e-expo.yml +++ b/.github/workflows/e2e-expo.yml @@ -2,22 +2,14 @@ name: e2e (Expo) on: pull_request: - paths: - - 'apps/tester-expo/**' - - 'apps/tester-expo-widget/**' - - 'apps/tester-federation-v2/**' - - 'packages/**' - - 'pnpm-lock.yaml' - - '.github/workflows/e2e-expo.yml' + paths-ignore: + - 'website/**' + - '**/*.md' push: branches: [main] - paths: - - 'apps/tester-expo/**' - - 'apps/tester-expo-widget/**' - - 'apps/tester-federation-v2/**' - - 'packages/**' - - 'pnpm-lock.yaml' - - '.github/workflows/e2e-expo.yml' + paths-ignore: + - 'website/**' + - '**/*.md' workflow_dispatch: # one run per PR; a new push cancels the older one diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 3c19a0098..6247e8405 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -2,18 +2,14 @@ name: e2e on: pull_request: - paths: - - 'apps/tester-federation-v2/**' - - 'packages/**' - - 'pnpm-lock.yaml' - - '.github/workflows/e2e.yml' + paths-ignore: + - 'website/**' + - '**/*.md' push: branches: [main] - paths: - - 'apps/tester-federation-v2/**' - - 'packages/**' - - 'pnpm-lock.yaml' - - '.github/workflows/e2e.yml' + paths-ignore: + - 'website/**' + - '**/*.md' workflow_dispatch: # one run per PR; a new push cancels the older one diff --git a/agent_context/e2e-oct2026/design.md b/agent_context/e2e-oct2026/design.md index 7ae63038c..c4f68e3df 100644 --- a/agent_context/e2e-oct2026/design.md +++ b/agent_context/e2e-oct2026/design.md @@ -70,11 +70,12 @@ Android gates `pull_request`; iOS runs on `push` to `main` and `workflow_dispatch`. Plain `pull_request` rather than `pull_request_target`: the job reads no secrets, needs only `contents: read`, and the default merge-ref checkout means a PR tests its own workflow file. The gate is GitHub's own fork -approval, which is per push. Each workflow runs only when a changed file is on -its `paths` list. MF2: its app, `packages/**`, the lockfile and `e2e.yml`. -Expo: its two apps, `apps/tester-federation-v2/**` (`OrdinaryWidget` is built -there), `packages/**`, the lockfile and `e2e-expo.yml`. A file that is on no -list skips the run silently. +approval, which is per push. Both workflows use +`paths-ignore: ['website/**', '**/*.md']`, so they skip only a PR that changes +docs and nothing else. Root files like `pnpm-workspace.yaml` (`allowBuilds`), +root `package.json` (`packageManager`), `tsconfig.base.json` and +`.github/actions/setup-pnpm-node` change what the apps run without touching +the lockfile, so they must trigger a run too. Fork runs get a read-only cache token from the platform, so they can restore `main`'s caches but not poison them.