mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-22 05:27:20 +00:00
actions: don't auto merge if en.json was updated
This commit is contained in:
parent
5d439680ac
commit
7cbda4c484
6
.github/workflows/weblate-merge.yml
vendored
6
.github/workflows/weblate-merge.yml
vendored
@ -8,6 +8,12 @@ jobs:
|
|||||||
merge:
|
merge:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Check if en.json has been updated
|
||||||
|
run: |
|
||||||
|
if -n git diff ${{ github.event.pull_request.base.sha }}..${{ github.sha }} src/locales/en.json; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
- name: AutoMerge Weblate translations
|
- name: AutoMerge Weblate translations
|
||||||
if: github.event.pull_request.user.login == 'weblate'
|
if: github.event.pull_request.user.login == 'weblate'
|
||||||
run: gh pr merge --auto --delete-branch --merge "$PR_URL"
|
run: gh pr merge --auto --delete-branch --merge "$PR_URL"
|
||||||
|
Loading…
Reference in New Issue
Block a user