diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index 08fcc388d..d974e2a76 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -46,9 +46,10 @@ jobs: ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} OPENCODE_PERMISSION: '{ "bash": { "gh*": "allow", "gh pr review*": "deny", "*": "deny" } }' + PR_TITLE: ${{ steps.pr-details.outputs.title }} run: | PR_BODY=$(jq -r .body pr_data.json) - opencode run -m anthropic/claude-opus-4-5 "A new pull request has been created: '${{ steps.pr-details.outputs.title }}' + opencode run -m anthropic/claude-opus-4-5 "A new pull request has been created: '${PR_TITLE}' ${{ steps.pr-number.outputs.number }}