From 68bc6d5e25dd472fb45a48888387b6419d8695b0 Mon Sep 17 00:00:00 2001 From: Mihails Date: Fri, 20 Dec 2024 11:45:27 +0100 Subject: [PATCH] test updated branch name getter --- .github/workflows/test-code-samples.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test-code-samples.yaml b/.github/workflows/test-code-samples.yaml index ef637dce0..a7361855c 100644 --- a/.github/workflows/test-code-samples.yaml +++ b/.github/workflows/test-code-samples.yaml @@ -13,17 +13,11 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Get current branch name - id: get-branch-name - run: echo "branch_name=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV - - name: Call Code Sample Tester Actor env: - APIFY_TOKEN: ${{ secrets.CODE_SAMPLE_TESTER_ACTOR_TOKEN }} - BRANCH_NAME: ${{ env.branch_name }} + # APIFY_TOKEN: ${{ secrets.CODE_SAMPLE_TESTER_ACTOR_TOKEN }} + APIFY_TOKEN: apify_api_cUpIjxWrtMdy6Ctqnz9PhYyTjdqWcI4tjFTr + BRANCH_NAME: ${{ github.ref_name }} run: | curl --fail-with-body -X POST "https://api.apify.com/v2/acts/X8D0L4wfpO8fCL1uL/run-sync" \ -H "Content-Type: application/json" \