Skip to content

Commit

Permalink
chore(ci): add auto pr approve
Browse files Browse the repository at this point in the history
  • Loading branch information
voice0726 committed Oct 29, 2024
1 parent a64ceb5 commit 1f3ed14
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Auto Approve
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
jobs:
approve:
if: |
github.event.pull_request.user.login == github.repository_owner
&& ! github.event.pull_request.draft
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: hmarr/auto-approve-action@v4
with:
review-message: "Auto approved automated PR"
github-token: ${{ secrets.BOT_TOKEN }}

0 comments on commit 1f3ed14

Please # to comment.