diff --git a/.github/workflows/aiguardian-remediation.yml b/.github/workflows/aiguardian-remediation.yml index d93eedd52..8755e1994 100644 --- a/.github/workflows/aiguardian-remediation.yml +++ b/.github/workflows/aiguardian-remediation.yml @@ -18,10 +18,11 @@ jobs: HEAD_BRANCH: ${{ github.event.pull_request.head.ref }} BASE_BRANCH: ${{ github.event.pull_request.base.ref }} REPO_URL: ${{ github.event.pull_request.html_url }} + AIG_URL: ${{ vars.AIG_URL }} run: | # Replace YOUR_API_ENDPOINT_URL with your actual API endpoint URL API_RESPONSE=$(curl -X POST -H "Content-Type: application/json" \ -d "{\"pr_number\": \"${PR_NUMBER}\", \"head_branch\": \"${HEAD_BRANCH}\", \"base_branch\": \"${BASE_BRANCH}\", \"repo_url\": \"${REPO_URL}\"}" \ - https://ai-rem-demo-api.remediation.opsmx.net/webhooks/github/actions) + ${AIG_URL}/gw/webhooks/github/actions) echo "API_RESPONSE=$API_RESPONSE" >> $GITHUB_OUTPUT