mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 14:50:30 +05:30
20 lines
501 B
YAML
20 lines
501 B
YAML
name: Merge Weblate translations
|
|
|
|
permissions: read-all|write-all
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, reopened]
|
|
|
|
jobs:
|
|
merge:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- 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 }}
|