From 3ce9fc2ec6ded0ff97c474c76d28220fb0f85ee7 Mon Sep 17 00:00:00 2001 From: jeet041 Date: Wed, 9 Apr 2025 10:30:26 +0530 Subject: [PATCH] Update AI_Agent_review.yml Signed-off-by: jeet041 --- .github/workflows/AI_Agent_review.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/AI_Agent_review.yml b/.github/workflows/AI_Agent_review.yml index b075ab11f..2a5f20065 100644 --- a/.github/workflows/AI_Agent_review.yml +++ b/.github/workflows/AI_Agent_review.yml @@ -15,6 +15,7 @@ jobs: id: extract run: | echo "##[set-output name=owner;]$(echo '${{ github.repository }}' | cut -d'/' -f1)" + echo "repo_name=${GITHUB_REPOSITORY#*/}" >> $GITHUB_OUTPUT - name: Call Lambda with PR Details run: | @@ -27,7 +28,7 @@ jobs: "pr_number": "${{ github.event.pull_request.number }}", "base_branch": "${{ github.event.pull_request.base.ref }}", "main_branch": "${{ github.event.pull_request.head.ref }}", - "repo": "${{ github.repository }}", + "repo": "${{ steps.extract.outputs.repo_name }}", "git_token": "${{ secrets.PAT_TOKEN }}" }' env: