mirror of
https://github.com/hyprwm/Hyprland.git
synced 2026-02-05 00:55:27 +00:00
ci: fix translator ci
This commit is contained in:
19
.github/workflows/translation-ai-check.yml
vendored
19
.github/workflows/translation-ai-check.yml
vendored
@ -1,9 +1,6 @@
|
||||
name: AI Translation Check
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
types:
|
||||
- opened
|
||||
issue_comment:
|
||||
types:
|
||||
- created
|
||||
@ -14,24 +11,8 @@ 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
|
||||
needs: changes
|
||||
if: ${{ needs.changes.outputs.backend == 'true' }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user