mirror of
https://github.com/twinksoftware/Gearslip.git
synced 2026-11-11 00:12:24 +01:00
Weblate's own pull requests pass the translations check
The check fails any pull request that edits a translation, which included Weblate's when it opens one instead of pushing.
This commit is contained in:
1 parent
6c9ff6edd2
commit
bd189fea38
1 file changed
+2
@@ -3,6 +3,7 @@ name: Translations
|
|||||||
# Weblate is the only thing that writes translated strings: it pushes straight to experimental,
|
# Weblate is the only thing that writes translated strings: it pushes straight to experimental,
|
||||||
# never through a pull request. A PR that edits them collides with Weblate's own copy, and
|
# never through a pull request. A PR that edits them collides with Weblate's own copy, and
|
||||||
# Weblate locks itself until someone resets it. Edit the English strings.xml only.
|
# Weblate locks itself until someone resets it. Edit the English strings.xml only.
|
||||||
|
# Weblate's own pull requests are the exception: they are the translations.
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
@@ -10,6 +11,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
weblate-only:
|
weblate-only:
|
||||||
|
if: github.event.pull_request.user.login != 'weblate'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Translations go through Weblate
|
- name: Translations go through Weblate
|
||||||
|
|||||||
Reference in new issue
Block a user