From 25008d7de1b77a5d283a98653100c53cb1510d3f Mon Sep 17 00:00:00 2001 From: Mihails Date: Fri, 20 Dec 2024 11:49:34 +0100 Subject: [PATCH] update branch getter --- .github/workflows/test-code-samples.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-code-samples.yaml b/.github/workflows/test-code-samples.yaml index a7361855c..e1916a18b 100644 --- a/.github/workflows/test-code-samples.yaml +++ b/.github/workflows/test-code-samples.yaml @@ -17,7 +17,7 @@ jobs: env: # APIFY_TOKEN: ${{ secrets.CODE_SAMPLE_TESTER_ACTOR_TOKEN }} APIFY_TOKEN: apify_api_cUpIjxWrtMdy6Ctqnz9PhYyTjdqWcI4tjFTr - BRANCH_NAME: ${{ github.ref_name }} + BRANCH_NAME: ${{ github.head_ref || github.ref_name }} run: | curl --fail-with-body -X POST "https://api.apify.com/v2/acts/X8D0L4wfpO8fCL1uL/run-sync" \ -H "Content-Type: application/json" \