ci: Auto merge

This commit is contained in:
Krille 2023-10-17 09:00:00 +02:00
commit af6cb60836
No known key found for this signature in database

16
.github/workflows/auto_merge.yaml vendored Normal file
View file

@ -0,0 +1,16 @@
name: Auto merge
on: pull_request_target
jobs:
auto-approve:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: github.actor == 'dependabot[bot]' || github.actor == 'weblate'
steps:
- uses: hmarr/auto-approve-action@v3
- name: automerge
uses: "pascalgn/automerge-action@v0.15.6"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"