crowdin action
This commit is contained in:
parent
5b01c15996
commit
4045c4f86b
1 changed files with 21 additions and 3 deletions
24
.github/workflows/cider-chores.yml
vendored
24
.github/workflows/cider-chores.yml
vendored
|
@ -11,7 +11,7 @@ jobs:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [ 18 ]
|
node-version: [18]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
@ -31,7 +31,7 @@ jobs:
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
cache: 'pnpm'
|
cache: "pnpm"
|
||||||
|
|
||||||
- name: Update lockfile
|
- name: Update lockfile
|
||||||
run: pnpm i --lockfile-only
|
run: pnpm i --lockfile-only
|
||||||
|
@ -48,7 +48,7 @@ jobs:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [ 18 ]
|
node-version: [18]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
@ -69,3 +69,21 @@ jobs:
|
||||||
commit_message: "chore: Prettified Code\n [ci skip]"
|
commit_message: "chore: Prettified Code\n [ci skip]"
|
||||||
commit_user_name: "cider-chore[bot]"
|
commit_user_name: "cider-chore[bot]"
|
||||||
commit_user_email: "cider-chore[bot]@users.noreply.github.com"
|
commit_user_email: "cider-chore[bot]@users.noreply.github.com"
|
||||||
|
|
||||||
|
synchronize-with-crowdin:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ false }} # disable for now
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: crowdin action
|
||||||
|
uses: crowdin/github-action@1.4.13
|
||||||
|
with:
|
||||||
|
upload_translations: true
|
||||||
|
download_translations: true
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||||
|
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
|
||||||
|
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue