diff --git a/.github/workflows/autoapproval.yml b/.github/workflows/autoapproval.yml index a752a89..bb2a163 100644 --- a/.github/workflows/autoapproval.yml +++ b/.github/workflows/autoapproval.yml @@ -3,10 +3,6 @@ on: pull_request: types: - labeled - workflow_run: - workflows: [ Build API, Build Web, Linting, Build Shared, Auto request changes ] - types: - - completed jobs: build: @@ -16,8 +12,8 @@ jobs: steps: - uses: hmarr/auto-approve-action@v3 if: >- - (!github.event.state == 'error' || - !github.event.state == 'failure') && contains(github.event.label.name, '[Merge] Ready') + (!github.event.state == 'error' || !github.event.state == 'failure') && + contains(github.event.label.name, '[Merge] Ready') - uses: hmarr/auto-approve-action@v3 with: github-token: ${{ secrets.TOKEN }}