From 793fc44b59bdc09e4fe7734fd511db7eff19651e Mon Sep 17 00:00:00 2001 From: John Molakvoæ Date: Thu, 29 Jun 2023 17:12:01 +0200 Subject: fix(cypress): branch definition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- .github/workflows/cypress.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 2b652ff62ab..00cedc6bb69 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -9,7 +9,7 @@ on: env: APP_NAME: server - BRANCH: ${{ github.base_ref }} + BRANCH: ${{ github.base_ref || github.ref_name }} TESTING: true jobs: @@ -94,7 +94,6 @@ jobs: env: # Needs to be prefixed with CYPRESS_ CYPRESS_BRANCH: ${{ env.BRANCH }} - CYPRESS_GH: true # https://github.com/cypress-io/github-action/issues/124 COMMIT_INFO_MESSAGE: ${{ github.event.pull_request.title }} # Needed for some specific code workarounds -- cgit v1.2.3