ci: Auto merge
This commit is contained in:
parent
b40a3b6064
commit
af6cb60836
1 changed files with 5 additions and 1 deletions
16
.github/workflows/auto_merge.yaml
vendored
Normal file
16
.github/workflows/auto_merge.yaml
vendored
Normal 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 }}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue