2022-11-10 22:58:44 +05:30
|
|
|
name: Merge Weblate translations
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
2022-11-10 23:03:40 +05:30
|
|
|
types: [opened, reopened]
|
2022-11-10 22:58:44 +05:30
|
|
|
|
|
|
|
jobs:
|
|
|
|
merge:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: AutoMerge Weblate translations
|
2022-11-12 02:44:43 +05:30
|
|
|
if: github.event.pull_request.user.login == 'weblate'
|
2022-11-10 23:09:20 +05:30
|
|
|
run: gh pr merge --auto --delete-branch --merge "$PR_URL"
|
2022-11-10 23:05:36 +05:30
|
|
|
env:
|
2022-11-10 23:09:20 +05:30
|
|
|
PR_URL: ${{github.event.pull_request.html_url}}
|
2022-11-10 23:05:36 +05:30
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|