GHA: reintroduce an env var for `$GITHUB_HEAD_REF` (#10659)

This should ensure GHA runs synapse against the same-named sytest branch
This commit is contained in:
David Robertson 2021-09-20 17:35:16 +01:00 committed by GitHub
parent b3590614da
commit f455b0e420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -192,6 +192,7 @@ jobs:
volumes:
- ${{ github.workspace }}:/src
env:
SYTEST_BRANCH: ${{ github.head_ref }}
POSTGRES: ${{ matrix.postgres && 1}}
MULTI_POSTGRES: ${{ (matrix.postgres == 'multi-postgres') && 1}}
WORKERS: ${{ matrix.workers && 1 }}

1
changelog.d/10659.misc Normal file
View File

@ -0,0 +1 @@
Fix GitHub Actions config so we can run sytest on synapse from parallel branches.