Skip to content

Commit

Permalink
Create auto-approve-release.yml (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollon77 authored Oct 31, 2023
1 parent 1a89c14 commit f3417b3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/auto-approve-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Auto approve release PRs

on:
pull_request:
types: [labeled]

jobs:
auto-approve:
if: |
github.actor == 'Automator77' &&
github.event.label.name == 'automated pr'
runs-on: ubuntu-latest
steps:
- uses: hmarr/auto-approve-action@v3
with:
github-token: ${{ secrets.APPROVE_TOKEN }}

0 comments on commit f3417b3

Please sign in to comment.