-
-
Notifications
You must be signed in to change notification settings - Fork 10
21 lines (20 loc) · 726 Bytes
/
auto-approve.yml
File metadata and controls
21 lines (20 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
name: auto-approve
on:
pull_request_target:
types:
- labeled
- opened
- synchronize
- reopened
- ready_for_review
jobs:
approve:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: contains(github.event.pull_request.labels.*.name, 'auto-approve') && (github.event.pull_request.user.login == 'projen-builder[bot]' || github.event.pull_request.user.login == 'mergify[bot]' || github.event.pull_request.user.login == 'mrgrain')
steps:
- uses: hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363
with:
github-token: ${{ secrets.GITHUB_TOKEN }}