1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-15 14:50:28 +05:30
Piped/.github/workflows/weblate-merge.yml

17 lines
434 B
YAML
Raw Normal View History

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 }}