summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-06-29 17:12:01 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-06-29 17:23:49 +0200
commit772aa81269c312813dfb82709b7bf305cf7e6c56 (patch)
treeecb320e47770c770603fd0d1659e38c0c1b6c197 /.github
parent297cc0e5122dbe6f5aed5e54aa00b6c5ae291a2c (diff)
downloadnextcloud-server-772aa81269c312813dfb82709b7bf305cf7e6c56.tar.gz
nextcloud-server-772aa81269c312813dfb82709b7bf305cf7e6c56.zip
fix(cypress): branch definition
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cypress.yml3
1 files changed, 1 insertions, 2 deletions
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