Use jacogr/action-approve (#616)

This commit is contained in:
Jaco
2022-02-23 11:00:07 +01:00
committed by GitHub
parent e9fec39840
commit e6f5b3f161
2 changed files with 14 additions and 9 deletions
-9
View File
@@ -23,12 +23,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
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 }}