mirror of
https://github.com/dkershner6/post-api-call-action.git
synced 2024-11-15 17:13:52 +08:00
22 lines
572 B
YAML
Generated
22 lines
572 B
YAML
Generated
# ~~ 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 }}
|