summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-06-29 17:12:01 +0200
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-06-29 16:44:42 +0000
commit793fc44b59bdc09e4fe7734fd511db7eff19651e (patch)
treed17e50fe2b07a9a45e3419e961e580de51e2ff5e /.github
parent2c9ef176f62ff93152437274788cb1574834e1d3 (diff)
downloadnextcloud-server-793fc44b59bdc09e4fe7734fd511db7eff19651e.tar.gz
nextcloud-server-793fc44b59bdc09e4fe7734fd511db7eff19651e.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