diff --git a/.github/workflows/download-translations.yml b/.github/workflows/download-translations.yml index 9f19973..5abe2f5 100644 --- a/.github/workflows/download-translations.yml +++ b/.github/workflows/download-translations.yml @@ -14,6 +14,7 @@ permissions: write-all jobs: crowdin: + if: ${{ secrets.CROWDIN_PROJECT_ID != '' }} runs-on: ubuntu-latest steps: - name: Checkout diff --git a/.github/workflows/upload-sources.yml b/.github/workflows/upload-sources.yml index f91f55b..23b4468 100644 --- a/.github/workflows/upload-sources.yml +++ b/.github/workflows/upload-sources.yml @@ -7,9 +7,11 @@ on: - master paths: ["en/**/*.*"] + workflow_dispatch: + jobs: crowdin-upload: - if: github.event.pull_request.merged == true + if: (github.event.pull_request.merged == true) || (github.event_name == 'workflow_dispatch') runs-on: ubuntu-latest steps: - name: Checkout