diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d6d48e83..f55fae027 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,7 +79,7 @@ jobs: -H "Authorization: Bearer ${{ secrets.CICD_PAT }}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/hash-laboratories-au/xinfin-script/actions/workflows/test-ansible.yaml/dispatches \ - -d '{"ref":"test-ansible", "inputs":{"caller_repo": "${{ env.GITHUB_REPOSITORY }}", "caller_ref": "${{ env.GITHUB_REF_NAME }}", "caller_sha": "${{ env.GITHUB_SHA }}"}}' \ + -d '{"ref":"test-ansible", "inputs":{"caller_repo": "${{ github.repository }}", "caller_ref": "${{ github.ref.name }}", "caller_sha": "${{ github.sha }}"}}' \ )" >> $GITHUB_ENV - name: Check response fail or success