diff --git a/.github/workflows/auto_approve_copilot.yaml b/.github/workflows/auto_approve_copilot.yaml new file mode 100644 index 0000000..c8a4c0c --- /dev/null +++ b/.github/workflows/auto_approve_copilot.yaml @@ -0,0 +1,15 @@ +name: Auto-approve Copilot PRs + +on: + pull_request: + types: [opened, synchronize] + +jobs: + auto-approve: + runs-on: ubuntu-latest + if: github.actor == 'copilot-swe-agent' + steps: + - name: Auto-approve PR from Copilot agent + uses: hmarr/auto-approve-action@v3 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file