cal/.github/workflows/crowdin.yml

43 lines
1.2 KiB
YAML
Raw Normal View History

name: Crowdin Action
on:
push:
branches:
- main
2022-09-08 14:01:47 -03:00
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
steps:
2022-09-08 14:01:47 -03:00
- name: Checkout
Refactors Github Workflows (#7267) * Testing * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update production-build.yml * Tests * Update production-build.yml * Update pr.yml * Update pr.yml * Update nextjs-bundle-analysis.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update production-build.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * test * Test * Revert * TEST * Update production-build.yml * Update production-build.yml * DRY * Fixes * Update action.yml * Update action.yml * Fixes * WIP * Update action.yml * Update action.yml * Abstract playwright cache * Update yarn-e2e.yml * Adds type check * Update pr.yml * Tests * Anotha one * Update action.yml * Update pr.yml * Update action.yml * Cleanup * Update package.json * Update yarn-e2e.yml * Test * Cleanup * Update check-types.yml * Update yarn-install.yml * Update yarn-install.yml * Update yarn-install.yml * Fixes * Fixes * Update pr.yml * Fixes * Removed required checks * WIP * Adjustments * Update action.yml * Update pr.yml * Comments out buildjet * Caches DB * Update lint.yml * Update action.yml * Update action.yml * Update action.yml * Upgrades actions/checkout@v3 * Build fixes * Update nextjs-bundle-analysis.yml * Update nextjs-bundle-analysis.yml * Update nextjs-bundle-analysis.yml * Fixes? * Inherit secrets * Re-enables buildjet * Adds missing build cache to e2e * Revert "Re-enables buildjet" This reverts commit badd655e1edf8c2942582439f9fd48c00f892c38. * Fixes build env * Revert "Revert "Re-enables buildjet"" This reverts commit a1d78e7c12618d14b23bd50540ee005c6a550e7b. * Update .github/actions/cache-db/action.yml * Define CODEOWNERS file (#7245) * Start defining CODEOWNERS file * Update CODEOWNERS --------- Co-authored-by: Omar López <zomars@me.com> * improved brand colors on booking page (#7269) --------- Co-authored-by: Alex van Andel <me@alexvanandel.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-02-21 21:10:39 -03:00
uses: actions/checkout@v3
2023-04-10 17:26:56 -03:00
with:
token: ${{ secrets.GH_ACCESS_TOKEN }}
2022-09-08 14:01:47 -03:00
- name: crowdin action
uses: crowdin/github-action@v1.13.0
2022-09-08 14:01:47 -03:00
with:
# upload sources
2023-03-10 20:54:25 -03:00
upload_sources: true
# upload translations (& auto-approve 'em)
upload_translations_args: '--auto-approve-imported'
upload_translations: true
2023-03-10 20:54:25 -03:00
push_translations: true
# download translations
download_translations: true
# GH config
2023-03-10 20:54:25 -03:00
commit_message: "New Crowdin translations by Github Action"
localization_branch_name: main
create_pull_request: false
2022-09-08 14:01:47 -03:00
env:
2023-04-04 16:43:00 -03:00
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
2022-09-08 14:01:47 -03:00
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}