Răsfoiți Sursa

chore: fix manual trigger for uploading translations

Gerald 5 ani în urmă
părinte
comite
97eae57136
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      .github/workflows/transifex-push-translations.yml

+ 1 - 1
.github/workflows/transifex-push-translations.yml

@@ -11,7 +11,7 @@ jobs:
   build:
     runs-on: ubuntu-latest
     # if PR with label `i18n` is merged
-    if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'i18n')
+    if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'i18n')
     steps:
       - name: Checkout code
         uses: actions/checkout@v2