build: Automerge weblate PRs
This commit is contained in:
parent
34912595a9
commit
e283e11643
1 changed files with 15 additions and 0 deletions
15
.github/workflows/weblate_auto_merge.yaml
vendored
Normal file
15
.github/workflows/weblate_auto_merge.yaml
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
name: Weblate Auto Merge
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened]
|
||||
|
||||
jobs:
|
||||
automerge:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.actor == 'weblate'
|
||||
steps:
|
||||
- name: Enable Pull Request Automerge
|
||||
run: gh pr merge --merge --auto "1"
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Loading…
Add table
Reference in a new issue