mirror of
https://github.com/dkershner6/post-api-call-action.git
synced 2024-11-15 20:03:50 +08:00
22 lines
572 B
YAML
22 lines
572 B
YAML
|
# ~~ 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 == 'dkershner6')
|
||
|
steps:
|
||
|
- uses: hmarr/auto-approve-action@v2.2.1
|
||
|
with:
|
||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|