You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
812 B
34 lines
812 B
name: Crowdin Action
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
schedule:
|
|
- cron: "0 */12 * * *"
|
|
|
|
jobs:
|
|
synchronize-with-crowdin:
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: crowdin action
|
|
uses: crowdin/github-action@a3160b9e5a9e00739392c23da5e580c6cabe526d
|
|
with:
|
|
upload_translations: true
|
|
download_translations: true
|
|
github_user_name: metamaskbot
|
|
github_user_email: metamaskbot@users.noreply.github.com
|
|
env:
|
|
GITHUB_ACTOR: metamaskbot
|
|
GITHUB_TOKEN: ${{ secrets.METAMASKBOT_CROWDIN_TOKEN }}
|
|
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
|
|
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|
|
|