Skip to content

Commit cccf9bb

Browse files
committed
get repo owner in test action
1 parent 25008d7 commit cccf9bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ jobs:
1818
# APIFY_TOKEN: ${{ secrets.CODE_SAMPLE_TESTER_ACTOR_TOKEN }}
1919
APIFY_TOKEN: apify_api_cUpIjxWrtMdy6Ctqnz9PhYyTjdqWcI4tjFTr
2020
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
21+
REPO_OWNER: ${{ github.repository_owner }}
2122
run: |
2223
curl --fail-with-body -X POST "https://api.apify.com/v2/acts/X8D0L4wfpO8fCL1uL/run-sync" \
2324
-H "Content-Type: application/json" \
2425
-H "Authorization: Bearer $APIFY_TOKEN" \
25-
-d '{ "branch": "'"$BRANCH_NAME"'" }'
26+
-d '{ "branch": "'"$BRANCH_NAME"'", "repoOwner": "'"$REPO_OWNER"'" }'

0 commit comments

Comments
 (0)