Use jacogr/action-approve (#7020)

This commit is contained in:
Jaco 2022-02-23 10:56:13 +01:00 committed by GitHub
parent 21240c1b0b
commit acd01fe058
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 9 deletions

9
.github/mergify.yml vendored
View File

@ -27,12 +27,3 @@ pull_request_rules:
queue:
name: default
method: squash
- name: auto approval
conditions:
- author~=^jacogr$
- label=automerge
actions:
review:
type: APPROVE
message: This auto-approval rule should be removed once more JS maintainers are active.

14
.github/workflows/approve.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: PR
on: pull_request
jobs:
auto-approve:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: jacogr/action-approve@master
with:
authors: jacogr
labels: automerge
token: ${{ secrets.GH_PAT_BOT }}