build: remove weblate auto merge

This commit is contained in:
Krille 2025-02-14 13:13:47 +01:00
parent 72f8dadce8
commit 1d36182ac0
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -1,25 +0,0 @@
name: Weblate Auto Merge
on:
pull_request:
types: [opened, reopened]
permissions:
contents: write
pull-requests: write
jobs:
automerge:
runs-on: ubuntu-latest
if: github.actor == 'weblate'
steps:
- name: Approve
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Enable auto-merge
run: gh pr merge --auto --rebase "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}