chore(i18n-update-core.yaml): update branch filter to include all branches matching sno-* for better flexibility

chore(i18n-update-core.yaml): modify job condition to run on push events for improved automation
This commit is contained in:
snomiao
2025-12-01 22:44:30 +00:00
parent 10d9dfaf91
commit e2a10b0594

View File

@@ -11,12 +11,12 @@ on:
push:
branches:
- sno-babel-define # REMOVE BEFORE MERGE - test branch for debugging
- 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.pull_request.head.repo.full_name == github.repository && startsWith(github.head_ref, 'version-bump-')) || (github.event_name == 'push')
runs-on: ubuntu-latest
steps:
- name: Checkout repository