summary refs log tree commit diff
path: root/.github
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2021-09-20 17:35:16 +0100
committerGitHub <noreply@github.com>2021-09-20 17:35:16 +0100
commitf455b0e4209cd581ea7b75436b178d2843cc6e0d (patch)
tree5d09344d471f6d30a1d0bf9214d1425045eb9f1b /.github
parentRequire type hints in the handlers module. (#10831) (diff)
downloadsynapse-f455b0e4209cd581ea7b75436b178d2843cc6e0d.tar.xz
GHA: reintroduce an env var for `$GITHUB_HEAD_REF` (#10659)
This should ensure GHA runs synapse against the same-named sytest branch
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/tests.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 8736699ad8..fa9c5e036a 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -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 }}