From cccf9bb5c274fd880483aa69408ece1c90e29e52 Mon Sep 17 00:00:00 2001 From: Mihails Date: Fri, 20 Dec 2024 12:00:10 +0100 Subject: [PATCH] get repo owner in test action --- .github/workflows/test-code-samples.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-code-samples.yaml b/.github/workflows/test-code-samples.yaml index e1916a18b..9f6e001c3 100644 --- a/.github/workflows/test-code-samples.yaml +++ b/.github/workflows/test-code-samples.yaml @@ -18,8 +18,9 @@ jobs: # APIFY_TOKEN: ${{ secrets.CODE_SAMPLE_TESTER_ACTOR_TOKEN }} APIFY_TOKEN: apify_api_cUpIjxWrtMdy6Ctqnz9PhYyTjdqWcI4tjFTr BRANCH_NAME: ${{ github.head_ref || github.ref_name }} + REPO_OWNER: ${{ github.repository_owner }} run: | curl --fail-with-body -X POST "https://api.apify.com/v2/acts/X8D0L4wfpO8fCL1uL/run-sync" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $APIFY_TOKEN" \ - -d '{ "branch": "'"$BRANCH_NAME"'" }' + -d '{ "branch": "'"$BRANCH_NAME"'", "repoOwner": "'"$REPO_OWNER"'" }'