Skip to content

Instantly share code, notes, and snippets.

@anon5r
Created February 20, 2025 11:36
Show Gist options
  • Save anon5r/c7d6b07b9640b0495f81dbfe1411f16c to your computer and use it in GitHub Desktop.
Save anon5r/c7d6b07b9640b0495f81dbfe1411f16c to your computer and use it in GitHub Desktop.
Auto PR approve bot
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@v3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment