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:
479
479
volumes :
480
480
- ${{ github.workspace }}:/src
481
481
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' }}
482
485
SYTEST_BRANCH : ${{ github.head_ref }}
483
486
POSTGRES : ${{ matrix.job.postgres && 1}}
484
487
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