chore(i18n-update-core.yaml): update workflow condition to trigger on push events for better automation

This commit is contained in:
snomiao
2025-12-01 22:43:53 +00:00
parent 2b54b58598
commit 097c2add60

View File

@@ -16,7 +16,7 @@ on:
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