From 4eecc80b9af684ec9f820ea69ac5b8cb25bb5737 Mon Sep 17 00:00:00 2001 From: peace-maker Date: Thu, 30 Mar 2023 02:28:03 +0200 Subject: [PATCH] Fix translations workflow (#1963) * Fix translations workflow * Temporarily trigger workflow for PRs * Trigger without a PR * Just work please * Update github-app-token dependency * Update workflow step name * Disable on PRs again --- .github/workflows/translations.yml | 8 ++++++-- tools/language_check/requirements.txt | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 tools/language_check/requirements.txt diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 1b0860990..487a01039 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -10,6 +10,10 @@ jobs: update_translations: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + - uses: actions/setup-python@v4 name: Setup Python 3.10 with: @@ -22,12 +26,12 @@ jobs: - name: Generate token id: generate_token - uses: tibdex/github-app-token@36464acb844fc53b9b8b2401da68844f6b05ebb0 + uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92 with: app_id: ${{ secrets.APP_ID }} private_key: ${{ secrets.APP_PEM }} - - name: Get project data + - name: Update translation project working-directory: tools/language_check env: GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} diff --git a/tools/language_check/requirements.txt b/tools/language_check/requirements.txt new file mode 100644 index 000000000..1285f892e --- /dev/null +++ b/tools/language_check/requirements.txt @@ -0,0 +1 @@ +gql[aiohttp]