зеркало из
1
0
Форкнуть 0

Update automation to use main as default branch (#629)

This commit is contained in:
Francesco Lodolo 2022-07-28 07:07:21 +02:00 коммит произвёл GitHub
Родитель c879dedf79
Коммит ad3e0d6018
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 4 добавлений и 4 удалений

4
.github/workflows/reference_linter.yaml поставляемый
Просмотреть файл

@ -2,13 +2,13 @@ name: Lint Reference Files
on:
push:
branches:
- master
- main
paths:
- '.github/linter_config.yml'
- 'locale/en/**.ftl'
pull_request:
branches:
- master
- main
paths:
- '.github/linter_config.yml'
- 'locale/en/**.ftl'

2
.github/workflows/test.yaml поставляемый
Просмотреть файл

@ -2,7 +2,7 @@ name: Tests
on:
push:
branches:
- master
- main
paths:
- 'locale/**/*.po'
workflow_dispatch:

Просмотреть файл

@ -9,7 +9,7 @@ This repo (abbreviated as "L10N" in this README) contains all translated/transla
The string localization is managed in [Pontoon](https://pontoon.mozilla.org/projects/firefox-accounts/) and it pushes changes anytime it likes.
On a regular basis (currently once a week) a [cron job runs](https://github.com/mozilla/fxa-content-server-l10n/blob/master/.github/workflows/l10n_extract.yaml) to extract all the strings from SOURCE and open a PR to merge them into this repository. Someone from the localization team will review that PR for any strings that are confusing to localize and, if there aren't any problems, will merge it. At that point Pontoon sees the changes and strings can be localized from the Pontoon interface.
On a regular basis (currently once a week) a [cron job runs](https://github.com/mozilla/fxa-content-server-l10n/blob/main/.github/workflows/l10n_extract.yaml) to extract all the strings from SOURCE and open a PR to merge them into this repository. Someone from the localization team will review that PR for any strings that are confusing to localize and, if there aren't any problems, will merge it. At that point Pontoon sees the changes and strings can be localized from the Pontoon interface.
The extraction process can also be triggered manually from [here](https://github.com/mozilla/fxa-content-server-l10n/actions/workflows/l10n_extract.yaml).