Update pull_request.yml

This commit is contained in:
Francisco Hodge 2021-08-02 01:28:01 -07:00 committed by GitHub
parent dfe391fbd5
commit f765bbb3ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,3 +20,14 @@ jobs:
npm run coverage
env:
CI: true
- name: automerge
if: success()
uses: "pascalgn/automerge-action@v0.14.2"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_LABELS: "dependencies"
- name: Reject PR
if: failure()
uses: superbrothers/close-pull-request@v3
with:
comment: "PR closed due to failing tests."