Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit f455b0e

Browse files
author
David Robertson
authored
GHA: reintroduce an env var for $GITHUB_HEAD_REF (#10659)
This should ensure GHA runs synapse against the same-named sytest branch
1 parent b359061 commit f455b0e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/tests.yml

+1
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ jobs:
192192
volumes:
193193
- ${{ github.workspace }}:/src
194194
env:
195+
SYTEST_BRANCH: ${{ github.head_ref }}
195196
POSTGRES: ${{ matrix.postgres && 1}}
196197
MULTI_POSTGRES: ${{ (matrix.postgres == 'multi-postgres') && 1}}
197198
WORKERS: ${{ matrix.workers && 1 }}

changelog.d/10659.misc

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

0 commit comments

Comments
 (0)