Skip to content
Prev Previous commit
Next Next commit
Revert "chore(i18n-update-core.yaml): update job conditions to includ…
…e sno- branches for debugging purposes and improve clarity on branch detection"

This reverts commit 7c7dcf7.
  • Loading branch information
snomiao committed Dec 2, 2025
commit fb3d0737fc5179a7fc23eab924070f19e0a0c06e
7 changes: 5 additions & 2 deletions .github/workflows/i18n-update-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ 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_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && startsWith(github.head_ref, 'version-bump-')) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && startsWith(github.head_ref, 'sno-'))
# added for debug sno- branches, remove before merge
if: github.event_name == 'workflow_dispatch' || (github.event.pull_request.head.repo.full_name == github.repository && startsWith(github.head_ref, 'version-bump-'))
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down