Skip to content

Commit bb16fcf

Browse files
Copilotpamelafox
andauthored
Add auto-approve workflow for GitHub Copilot agent PRs (#232)
* Initial plan * Add auto-approve workflow for GitHub Copilot agent PRs Co-authored-by: pamelafox <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: pamelafox <[email protected]>
1 parent 106e4ca commit bb16fcf

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)