From c5ac4f591675bfab31234e95add6e43a94c27761 Mon Sep 17 00:00:00 2001 From: "ai-remediation[bot]" <233891908+ai-remediation[bot]@users.noreply.github.com> Date: Wed, 4 Mar 2026 15:39:25 +0000 Subject: [PATCH 1/2] Add AI Guardian PR Scan Workflow --- .github/workflows/aiguardian-remediation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/aiguardian-remediation.yml b/.github/workflows/aiguardian-remediation.yml index d93eedd52..b26673408 100644 --- a/.github/workflows/aiguardian-remediation.yml +++ b/.github/workflows/aiguardian-remediation.yml @@ -22,6 +22,6 @@ jobs: # 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) + https://ai-rem-demo.remediation.opsmx.net/gw/webhooks/github/actions) echo "API_RESPONSE=$API_RESPONSE" >> $GITHUB_OUTPUT From 50cd584700fffd1e211b8c7b045db4ae63d88758 Mon Sep 17 00:00:00 2001 From: Giri Thanikonda <52537095+girichinna27@users.noreply.github.com> Date: Thu, 5 Mar 2026 12:31:33 +0530 Subject: [PATCH 2/2] Update API endpoint URL in remediation workflow Signed-off-by: Giri Thanikonda <52537095+girichinna27@users.noreply.github.com> --- .github/workflows/aiguardian-remediation.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/aiguardian-remediation.yml b/.github/workflows/aiguardian-remediation.yml index b26673408..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.remediation.opsmx.net/gw/webhooks/github/actions) + ${AIG_URL}/gw/webhooks/github/actions) echo "API_RESPONSE=$API_RESPONSE" >> $GITHUB_OUTPUT