From f93db2b923226ba47f64529aa82259a88594d980 Mon Sep 17 00:00:00 2001 From: snomiao Date: Tue, 2 Dec 2025 02:18:26 +0000 Subject: [PATCH] chore(i18n-update-core.yaml): remove push trigger for sno-* branches and update condition for job execution to include sno- branches --- .github/workflows/i18n-update-core.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/i18n-update-core.yaml b/.github/workflows/i18n-update-core.yaml index 85a9f58abf..477e0e4274 100644 --- a/.github/workflows/i18n-update-core.yaml +++ b/.github/workflows/i18n-update-core.yaml @@ -9,14 +9,13 @@ on: branches: [main] types: [opened, synchronize, reopened] - push: - branches: - - sno-* # REMOVE BEFORE MERGE - test branch for debugging - jobs: update-locales: # Branch detection: Only run for manual dispatch or version-bump-* branches from main repo - if: github.event_name == 'workflow_dispatch' || (github.event.pull_request.head.repo.full_name == github.repository && startsWith(github.head_ref, 'version-bump-')) || (github.event_name == 'push') + if: | + github.event_name == 'workflow_dispatch' + || (github.event.pull_request.head.repo.full_name == github.repository && startsWith(github.head_ref, 'version-bump-')) + || (github.event.pull_request.head.repo.full_name == github.repository && startsWith(github.head_ref, 'sno-')) runs-on: ubuntu-latest steps: - name: Checkout repository