2023-08-30 21:55:01 +05:30
|
|
|
name: Merge Weblate translations
|
|
|
|
|
2023-09-02 02:13:35 +05:30
|
|
|
permissions: write-all
|
2023-08-31 13:21:48 +05:30
|
|
|
|
2023-08-30 21:55:01 +05:30
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
types: [opened, reopened]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
merge:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-09-04 20:31:58 +05:30
|
|
|
- uses: actions/checkout@v4
|
2023-08-30 21:55:01 +05:30
|
|
|
- name: AutoMerge Weblate translations
|
|
|
|
if: github.event.pull_request.user.login == 'weblate'
|
|
|
|
run: gh pr merge --auto --delete-branch --merge "$PR_URL"
|
|
|
|
env:
|
|
|
|
PR_URL: ${{github.event.pull_request.html_url}}
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|