mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-15 20:58:23 +00:00
17 lines
434 B
YAML
17 lines
434 B
YAML
|
name: Merge Weblate translations
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
types: [opened, reopened]
|
||
|
|
||
|
jobs:
|
||
|
merge:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- 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 }}
|