Create a new TaskRecycler class to cache reusable function calls #293
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Translation integrity | |
on: | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
test-translations-and-approve: | |
if: contains(github.event.pull_request.labels.*.name, 'tolgee-ci') | |
runs-on: ubuntu-latest # For a list of available runner types, refer to | |
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on | |
steps: | |
- name: Checkout the repository | |
id: checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Test translations | |
id: tests | |
run: | | |
python scripts/verify_translations.py | |
- name: Approve PR since checks are Ok | |
uses: hmarr/auto-approve-action@v4 | |
with: | |
review-message: "Tolgee-CI Changes have been approved since they passed testing" | |