Skip to content

Commit 25008d7

Browse files
committed
update branch getter
1 parent b52772f commit 25008d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-code-samples.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
env:
1818
# APIFY_TOKEN: ${{ secrets.CODE_SAMPLE_TESTER_ACTOR_TOKEN }}
1919
APIFY_TOKEN: apify_api_cUpIjxWrtMdy6Ctqnz9PhYyTjdqWcI4tjFTr
20-
BRANCH_NAME: ${{ github.ref_name }}
20+
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
2121
run: |
2222
curl --fail-with-body -X POST "https://api.apify.com/v2/acts/X8D0L4wfpO8fCL1uL/run-sync" \
2323
-H "Content-Type: application/json" \

0 commit comments

Comments
 (0)