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

21 lines
482 B
YAML
Raw Normal View History

2022-11-10 22:58:44 +05:30
name: Merge Weblate translations
on:
pull_request:
branches:
- weblate
jobs:
merge:
runs-on: ubuntu-latest
steps:
# Run only if the PR is from Weblate
- name: Check if PR author is weblate
if: github.event.pull_request.user.login != 'weblate'
run: exit 78
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: AutoMerge Weblate translations
run: gh pr merge --auto --delete-branch --merge