CI/AI translate: fix yet again
This commit is contained in:
parent
9f02dca8de
commit
fbb31503f1
1 changed files with 16 additions and 1 deletions
17
.github/workflows/translation-ai-check.yml
vendored
17
.github/workflows/translation-ai-check.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue