summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2025-11-22 13:56:41 +0000
committerVaxry <vaxry@vaxry.net>2025-11-22 13:56:41 +0000
commit2ac9ded2ac56da300c7bc0fb75142ed17f60edbf (patch)
tree174ef53dfcd7e9b640f08a3005c3a138a405fb0c /.github
parentabb2f7ee6fc99c31b6fac05568f29c92b59565df (diff)
ci: fix ai workflow for the nth time
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/translation-ai-check.yml19
1 files changed, 1 insertions, 18 deletions
diff --git a/.github/workflows/translation-ai-check.yml b/.github/workflows/translation-ai-check.yml
index 0972b81f..d6a62a60 100644
--- a/.github/workflows/translation-ai-check.yml
+++ b/.github/workflows/translation-ai-check.yml
@@ -14,26 +14,9 @@ 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
- outputs:
- exists: ${{ steps.changes.outputs.exists }}
- steps:
- - name: Checkout source code
- uses: actions/checkout@v5
-
- - uses: yumemi-inc/path-filter@v2
- id: changes
- with:
- patterns: |
- src/i18n/**
-
review:
name: Review Translation
- needs: changes
- if: needs.changes.outputs.exists == 'true'
+ 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
env:
OPENAI_MODEL: gpt-5-mini