Update weblateToCounterpart to be more resilient (#22247)
* Update i18n check CI to ignore RiotTranslateBot * Update `weblateToCounterpart` to be more resilient
This commit is contained in:
committed by
GitHub
parent
aca0346f4e
commit
b3ef2c179a
5
.github/workflows/static_analysis.yaml
vendored
5
.github/workflows/static_analysis.yaml
vendored
@@ -44,7 +44,10 @@ jobs:
|
||||
files_ignore: |
|
||||
src/i18n/strings/en_EN.json
|
||||
- name: "Assert only en_EN was modified"
|
||||
if: github.event_name == 'pull_request' && steps.changed_files.outputs.any_modified == 'true'
|
||||
if: |
|
||||
github.event_name == 'pull_request' &&
|
||||
github.actor != 'RiotTranslateBot' &&
|
||||
steps.changed_files.outputs.any_modified == 'true'
|
||||
run: |
|
||||
echo "You can only modify en_EN.json, do not touch any of the other i18n files as Weblate will be confused"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user