prevent modifying non-English translation files (#25002)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
e090adcb65
Коммит
c2bc4008fc
20
.github/workflows/i18n-ci-pr.yml
поставляемый
Обычный файл
20
.github/workflows/i18n-ci-pr.yml
поставляемый
Обычный файл
@@ -0,0 +1,20 @@
|
||||
name: i18n CI PR
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "server/i18n/**"
|
||||
- "webapp/channels/src/i18n/**"
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
# This file just imports the template yml
|
||||
# and runs it with concurrency. We have to do this in this way
|
||||
# because the concurrency label cannot be added conditionally
|
||||
# and it _always_ cancels pending workflows. So master CI builds
|
||||
# always kept getting canceled.
|
||||
|
||||
jobs:
|
||||
pr-ci:
|
||||
uses: ./.github/workflows/i18n-ci-template.yml
|
||||
secrets: inherit
|
||||
Ссылка в новой задаче
Block a user