Skip to content
Prev Previous commit
Next Next commit
chore(i18n-update-core.yaml): update job conditions to include sno- b…
…ranches for debugging purposes and improve clarity on branch detection
  • Loading branch information
snomiao committed Dec 2, 2025
commit 7c7dcf778c4bdfd9bc98c51bf6ced7a961c3e09e
7 changes: 2 additions & 5 deletions .github/workflows/i18n-update-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@ 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-'))
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
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down
Loading