diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index cfeddf1f..6824d38c 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -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."