Skip to content

Commit a8ac9ed

Browse files
Copilotpamelafox
andcommitted
Add auto-approve workflow for GitHub Copilot agent PRs
Co-authored-by: pamelafox <[email protected]>
1 parent 4b4be35 commit a8ac9ed

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Auto-approve Copilot PRs
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize]
6+
7+
jobs:
8+
auto-approve:
9+
runs-on: ubuntu-latest
10+
if: github.actor == 'copilot-swe-agent'
11+
steps:
12+
- name: Auto-approve PR from Copilot agent
13+
uses: hmarr/auto-approve-action@v3
14+
with:
15+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)