diff --git a/.github/workflows/pr-review.yml b/.github/workflows/pr-review.yml index 1ee57a3..fc448f4 100644 --- a/.github/workflows/pr-review.yml +++ b/.github/workflows/pr-review.yml @@ -15,8 +15,6 @@ jobs: env: AMBIENT_TOKEN: ${{ secrets.AMBIENT_TOKEN }} PR_NUMBER: ${{ github.event.pull_request.number }} - HEAD_BRANCH: ${{ github.event.pull_request.head.ref }} - REPO: ${{ github.repository }} run: | curl -fS -X POST \ "https://backend-route-ambient-code.apps.rosa.vteam-uat.0ksl.p3.openshiftapps.com/api/projects/open-dispatch-actions/agentic-sessions" \ @@ -25,16 +23,14 @@ jobs: -d "$(jq -n \ --arg prompt "/odis-review ${PR_NUMBER}" \ --arg name "pr-review-${PR_NUMBER}" \ - --arg gitUrl "https://github.com/${REPO}.git" \ - --arg branch "${HEAD_BRANCH}" \ '{ initialPrompt: $prompt, runnerType: "claude-agent-sdk", timeout: 900, displayName: $name, activeWorkflow: { - gitUrl: $gitUrl, - branch: $branch, + gitUrl: "https://github.com/openshift-online/open-dispatch.git", + branch: "main", path: "ambient-workflows/odis-pr-review" }, labels: {