ci: fix translator ci
This commit is contained in:
parent
ad52ba9c13
commit
64e4e913e1
1 changed files with 0 additions and 19 deletions
19
.github/workflows/translation-ai-check.yml
vendored
19
.github/workflows/translation-ai-check.yml
vendored
|
|
@ -1,9 +1,6 @@
|
||||||
name: AI Translation Check
|
name: AI Translation Check
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request_target:
|
|
||||||
types:
|
|
||||||
- opened
|
|
||||||
issue_comment:
|
issue_comment:
|
||||||
types:
|
types:
|
||||||
- created
|
- created
|
||||||
|
|
@ -14,24 +11,8 @@ permissions:
|
||||||
issues: write
|
issues: write
|
||||||
|
|
||||||
jobs:
|
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:
|
review:
|
||||||
name: Review Translation
|
name: Review Translation
|
||||||
needs: changes
|
|
||||||
if: ${{ needs.changes.outputs.backend == 'true' }}
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue