Skip to content

updated onebox cw config #171

updated onebox cw config

updated onebox cw config #171

Workflow file for this run

name: auto-approve
on:
pull_request:
types:
- labeled
- opened
- synchronize
- reopened
- ready_for_review
permissions: {}
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 == 'hakenmt' || github.event.pull_request.user.login == 'github-bot')
steps:
- name: Wait for build to succeed
uses: fountainhead/[email protected]
id: wait-for-build
with:
token: ${{ github.token }}
checkName: build
ref: ${{ github.event.pull_request.head.sha }},
timeoutSeconds: 900
- name: auto-approve
id: auto-approve
uses: hmarr/[email protected]
if: steps.wait-for-build.outputs.conclusion == 'success' || steps.wait-for-build.outputs.conclusion == 'neutral'
with:
github-token: ${{ secrets.PAT_TOKEN }}