зеркало из https://github.com/nextcloud/.github.git
fix(cypress): branch definition
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
This commit is contained in:
Родитель
fefa6e8f7e
Коммит
82c609a2ac
|
@ -11,7 +11,12 @@ on:
|
|||
env:
|
||||
# Adjust APP_NAME if your repository name is different
|
||||
APP_NAME: ${{ github.event.repository.name }}
|
||||
BRANCH: ${{ github.base_ref }}
|
||||
|
||||
# This represents the server branch to checkout.
|
||||
# Usually it's the base branch of the PR, but for pushes it's the branch itself.
|
||||
# e.g. 'main', 'stable27' or 'feature/my-feature
|
||||
# n.b. server will use head_ref, as we want to test the PR branch.
|
||||
BRANCH: ${{ github.base_ref || github.ref_name }}
|
||||
|
||||
jobs:
|
||||
init:
|
||||
|
|
Загрузка…
Ссылка в новой задаче