From 739a3123cbd104978e2634a8399b7abf7136e0ee Mon Sep 17 00:00:00 2001 From: Dominik K Date: Wed, 10 Jan 2024 16:55:49 +0100 Subject: [PATCH] get `repository_ref` from context Signed-off-by: Dominik K --- .github/workflows/build_and_test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index 2932ec126..9cce53387 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -11,4 +11,4 @@ jobs: unit_tests: true integration_tests: false repository: EVerest/libocpp - repository_ref: CI/reusable-workflow # TODO use a context-variable instead + repository_ref: ${{ github.head_ref || github.ref_name }}