2021-12-09 22:53:58 +01:00
|
|
|
name: Crowdin Action
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
pull-requests: write
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- develop
|
|
|
|
schedule:
|
|
|
|
- cron: "0 */12 * * *"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
synchronize-with-crowdin:
|
2022-11-07 04:29:01 +01:00
|
|
|
runs-on: ubuntu-latest
|
2021-12-09 22:53:58 +01:00
|
|
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: crowdin action
|
2022-04-20 21:46:53 +02:00
|
|
|
uses: crowdin/github-action@a3160b9e5a9e00739392c23da5e580c6cabe526d
|
2021-12-09 22:53:58 +01:00
|
|
|
with:
|
|
|
|
upload_translations: true
|
|
|
|
download_translations: true
|
2022-02-04 19:51:11 +01:00
|
|
|
github_user_name: metamaskbot
|
|
|
|
github_user_email: metamaskbot@users.noreply.github.com
|
2021-12-09 22:53:58 +01:00
|
|
|
env:
|
2022-02-04 19:51:11 +01:00
|
|
|
GITHUB_ACTOR: metamaskbot
|
2022-01-13 23:45:07 +01:00
|
|
|
GITHUB_TOKEN: ${{ secrets.METAMASKBOT_CROWDIN_TOKEN }}
|
2021-12-09 22:53:58 +01:00
|
|
|
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
|
|
|
|
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|