fix(cypress): branch definition

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ 2023-06-29 17:12:01 +02:00 committed by backportbot-nextcloud[bot]
parent 2c9ef176f6
commit 793fc44b59

View file

@ -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