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 name: Languages Sync
on: on:
# push: push:
# branches: [ "develop", "master" ] branches: ['master']
# paths: paths:
# - 'libs/datasource/i18n/**' - 'packages/i18n/**'
# - '.github/workflows/languages-sync.yml' - '.github/workflows/languages-sync.yml'
# pull_request: pull_request:
# branches: [ "develop", "master" ] branches: ['master']
# paths: paths:
# - 'libs/datasource/i18n/**' - 'packages/i18n/**'
# - '.github/workflows/languages-sync.yml' - '.github/workflows/languages-sync.yml'
workflow_dispatch: workflow_dispatch:
# Cancels all previous workflow runs for pull requests that have not completed. # Cancels all previous workflow runs for pull requests that have not completed.