From d66c9222b01de188c70cebc1ae82e169bf2a2ebc Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Thu, 20 Nov 2025 14:39:11 +0200 Subject: [PATCH] CI/AI translate: expose output --- .github/workflows/translation-ai-check.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/translation-ai-check.yml b/.github/workflows/translation-ai-check.yml index 6739f9fb..0972b81f 100644 --- a/.github/workflows/translation-ai-check.yml +++ b/.github/workflows/translation-ai-check.yml @@ -18,6 +18,8 @@ jobs: 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 @@ -31,7 +33,7 @@ jobs: review: name: Review Translation needs: changes - if: ${{ needs.changes.outputs.exists == 'true' }} + if: needs.changes.outputs.exists == 'true' runs-on: ubuntu-latest env: OPENAI_MODEL: gpt-5-mini