From 86b11cad7cc7a68e1db73d3ce4ff2efa5128ef2b Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Sat, 24 Oct 2026 15:45:25 +0200 Subject: [PATCH] fix(ci): clone vendored test apps from the matching stable branch The Playwright migration dropped the BRANCH env the Cypress workflow set, so @nextcloud/e2e-test-server fell back to 'master' and cloned nextcloud/viewer from its default branch. That branch is empty since the viewer moved to the @nextcloud/viewer library for 36+, so stable branches ran without a viewer and the "openfile" router-query tests failed deterministically. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Andy Scherzinger --- .github/workflows/playwright.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 3fdd09edbc6cf..beb24af744989 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -22,6 +22,10 @@ concurrency: group: playwright-${{ github.head_ref || github.run_id }} cancel-in-progress: true +env: + # Branch of the vendored apps (e.g. viewer) cloned into the test server + BRANCH: ${{ github.base_ref || github.ref_name }} + jobs: gate: runs-on: ubuntu-latest-low