diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index 3282751..732bcb1 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -25,7 +25,7 @@ jobs: run: | for pr in ${{ steps.prs.outputs.prs }} do - gh pr review --approve $pr + gh pr review --repo ${{ github.repository }} --approve $pr done env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}