ci: fix ai workflow for the nth time

This commit is contained in:
Vaxry 2025-11-22 13:56:41 +00:00
parent abb2f7ee6f
commit 2ac9ded2ac
Signed by: vaxry
GPG key ID: 665806380871D640

View file

@ -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