mirror of
https://github.com/hyprwm/Hyprland
synced 2025-12-20 06:50:10 +01:00
ci: fix ai workflow for the nth time
This commit is contained in:
parent
abb2f7ee6f
commit
2ac9ded2ac
1 changed files with 1 additions and 18 deletions
19
.github/workflows/translation-ai-check.yml
vendored
19
.github/workflows/translation-ai-check.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue