build: remove weblate auto merge
This commit is contained in:
parent
72f8dadce8
commit
1d36182ac0
1 changed files with 0 additions and 25 deletions
25
.github/workflows/weblate_auto_merge.yaml
vendored
25
.github/workflows/weblate_auto_merge.yaml
vendored
|
|
@ -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}}
|
||||
Loading…
Add table
Reference in a new issue