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
This commit is contained in:
peace-maker 2023-03-30 02:28:03 +02:00 committed by GitHub
parent 008fbf78a5
commit 4eecc80b9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -10,6 +10,10 @@ jobs:
update_translations: update_translations:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
name: Setup Python 3.10 name: Setup Python 3.10
with: with:
@ -22,12 +26,12 @@ jobs:
- name: Generate token - name: Generate token
id: generate_token id: generate_token
uses: tibdex/github-app-token@36464acb844fc53b9b8b2401da68844f6b05ebb0 uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with: with:
app_id: ${{ secrets.APP_ID }} app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PEM }} private_key: ${{ secrets.APP_PEM }}
- name: Get project data - name: Update translation project
working-directory: tools/language_check working-directory: tools/language_check
env: env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}

View File

@ -0,0 +1 @@
gql[aiohttp]