зеркало из https://github.com/github/docs.git
Run Crowdin workflow only on private repo and update CODEOWNERS (#16010)
* only run Crowdin workflow on private repo Co-Authored-By: Chiedo John <2156688+chiedo@users.noreply.github.com> * organize codeowners for localization-related files Co-Authored-By: Chiedo John <2156688+chiedo@users.noreply.github.com> * do not upload translations Co-Authored-By: Chiedo John <2156688+chiedo@users.noreply.github.com> Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
This commit is contained in:
Родитель
53482ecfb2
Коммит
5439891d1d
|
@ -3,16 +3,21 @@
|
|||
# https://help.github.com/articles/about-codeowners
|
||||
# https://git-scm.com/docs/gitignore
|
||||
|
||||
/translations/ @github/docs-localization @github-actions
|
||||
# Engineering
|
||||
*.js @github/docs-engineering
|
||||
/.github/ @github/docs-engineering
|
||||
/script/ @github/docs-engineering
|
||||
app.json @github/docs-engineering
|
||||
crowdin.yml @github/docs-engineering
|
||||
Dockerfile @github/docs-engineering
|
||||
package-lock.json @github/docs-engineering
|
||||
package.json @github/docs-engineering
|
||||
|
||||
# Localization
|
||||
/.github/workflows/crowdin.yml @github/docs-localization
|
||||
/crowdin*.yml @github/docs-engineering @github/docs-localization
|
||||
/translations/ @github/docs-engineering @github/docs-localization @github-actions
|
||||
|
||||
# Site Policy
|
||||
/content/github/site-policy/ @github/site-policy-admins
|
||||
|
||||
# Make sure that Octokit maintainers get notified about changes
|
||||
|
|
|
@ -11,6 +11,7 @@ on:
|
|||
jobs:
|
||||
sync_with_crowdin:
|
||||
name: Sync with Crowdin
|
||||
if: github.repository == 'github/docs-internal'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
@ -19,7 +20,7 @@ jobs:
|
|||
- name: Sync
|
||||
uses: crowdin/github-action@1.0.10
|
||||
with:
|
||||
upload_translations: true
|
||||
upload_translations: false
|
||||
download_translations: true
|
||||
create_pull_request: true
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче