diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.yml index 2d09aa3..0b6c29f 100644 --- a/.github/workflows/crowdin.yml +++ b/.github/workflows/crowdin.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'push' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Upload sources to Crowdin uses: crowdin/github-action@v2 @@ -35,13 +35,9 @@ jobs: download: name: Download translations runs-on: ubuntu-latest - if: github.event_name == 'workflow_dispatch' + if: github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' steps: - - uses: actions/checkout@v4 - - - uses: oven-sh/setup-bun@v2 - - - run: bun install --frozen-lockfile + - uses: actions/checkout@v6 - name: Download translations from Crowdin uses: crowdin/github-action@v2 @@ -57,11 +53,3 @@ jobs: CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Commit updated catalogs - run: | - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - git add packages/i18n/src/po/ - git diff --cached --quiet || git commit -m "chore(i18n): update translation catalogs" - git push