Przeglądaj źródła

chore: fix manual trigger for uploading translations

Gerald 5 lat temu
rodzic
commit
97eae57136

+ 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