From f9ad70766887f499a68d68a52c0b99149170711f Mon Sep 17 00:00:00 2001 From: KTrain5369 <69028025+KTrain5169@users.noreply.github.com> Date: Mon, 30 Sep 2024 20:31:32 +1000 Subject: [PATCH] add push and cron conditions, add main ref checkout --- .github/workflows/auto-i18n.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/auto-i18n.yml b/.github/workflows/auto-i18n.yml index 21debedc..de6c1d7f 100644 --- a/.github/workflows/auto-i18n.yml +++ b/.github/workflows/auto-i18n.yml @@ -3,6 +3,9 @@ name: Update Crowdin strings bi-directionally run-name: Update from Crowdin on: + push: + schedule: + - cron: "30 */3 * * *" workflow_dispatch: permissions: @@ -18,6 +21,8 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v4 + with: + ref: "main" - name: Grab strings from Crowdin uses: crowdin/github-action@v2.1.1