File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -479,6 +479,9 @@ jobs:
479479 volumes :
480480 - ${{ github.workspace }}:/src
481481 env :
482+ # If this is a pull request to a release branch, use that branch as default branch for sytest, else use develop
483+ # This works because the release script always create a branch on the sytest repo with the same name as the release branch
484+ SYTEST_DEFAULT_BRANCH : ${{ startsWith(github.base_ref, 'release-') && github.base_ref || 'develop' }}
482485 SYTEST_BRANCH : ${{ github.head_ref }}
483486 POSTGRES : ${{ matrix.job.postgres && 1}}
484487 MULTI_POSTGRES : ${{ (matrix.job.postgres == 'multi-postgres') || '' }}
Original file line number Diff line number Diff line change 1+ Use the release branch for sytest in release-branch PRs.
You can’t perform that action at this time.
0 commit comments