feat: add push and pr events

This commit is contained in:
JimmFly
2023-01-12 14:16:49 +08:00
parent 89866378ef
commit 2867cb07c5

View File

@@ -1,16 +1,16 @@
name: Languages Sync
on:
# push:
# branches: [ "develop", "master" ]
# paths:
# - 'libs/datasource/i18n/**'
# - '.github/workflows/languages-sync.yml'
# pull_request:
# branches: [ "develop", "master" ]
# paths:
# - 'libs/datasource/i18n/**'
# - '.github/workflows/languages-sync.yml'
push:
branches: ['master']
paths:
- 'packages/i18n/**'
- '.github/workflows/languages-sync.yml'
pull_request:
branches: ['master']
paths:
- 'packages/i18n/**'
- '.github/workflows/languages-sync.yml'
workflow_dispatch:
# Cancels all previous workflow runs for pull requests that have not completed.