diff options
| author | Mihai Fufezan <mihai@fufexan.net> | 2025-11-17 23:33:10 +0200 |
|---|---|---|
| committer | Mihai Fufezan <mihai@fufexan.net> | 2025-11-19 10:13:54 +0200 |
| commit | fbb31503f1b69402eeda81ba75a547c862c88bf2 (patch) | |
| tree | c2a57e07ddc14ed5d8a6276791c34aac85c658a5 /.github/workflows | |
| parent | 9f02dca8de5489689a7e31a2dfbf068c5dd3d282 (diff) | |
CI/AI translate: fix yet again
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/translation-ai-check.yml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/.github/workflows/translation-ai-check.yml b/.github/workflows/translation-ai-check.yml index d6a62a60..0729e9f6 100644 --- a/.github/workflows/translation-ai-check.yml +++ b/.github/workflows/translation-ai-check.yml @@ -14,9 +14,24 @@ permissions: issues: write jobs: + changes: + name: Check i18n changes + if: ${{ github.event_name == 'pull_request_target' || (github.event_name == 'issue_comment' && github.event.action == 'created' && github.event.issue.pull_request != null && github.event.comment.user.login == 'vaxerski' && github.event.comment.body == 'ai, please recheck' ) }} + runs-on: ubuntu-latest + steps: + - name: Checkout source code + uses: actions/checkout@v5 + + - uses: dorny/paths-filter@v3 + id: changes + with: + filters: | + i18n: + - 'src/i18n/**' review: name: Review Translation - if: ${{ github.event_name == 'pull_request_target' || (github.event_name == 'issue_comment' && github.event.action == 'created' && github.event.issue.pull_request != null && github.event.comment.user.login == 'vaxerski' && github.event.comment.body == 'ai, please recheck' ) }} + needs: changes + if: ${{ needs.changes.outputs.i18n == 'true' }} runs-on: ubuntu-latest env: OPENAI_MODEL: gpt-5-mini |
