Skip to content

Commit

Permalink
Add Auto Approve PR Workflow (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
LanikSJ authored May 21, 2024
1 parent 891a37f commit dc24371
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/auto-approve-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: auto-approve-prs

on:
pull_request_target:
types:
- opened
branches:
- main

jobs:
auto-approve:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: |
${{ github.actor == 'LanikSJ' }}
${{ github.actor == 'Sonic5435325' }}
${{ github.actor == 'github-actions' }}
steps:
- uses: hmarr/auto-approve-action@v4
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit dc24371

Please sign in to comment.