-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (30 loc) · 943 Bytes
/
sync-repoFile.yml
File metadata and controls
30 lines (30 loc) · 943 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: sync-common-types-files
on:
push:
branches:
- main
paths:
- 'specification/common-types/**'
# schedule:
# - cron: '* 11 * * 1'
# https://docs.github.com/cn/actions/using-workflows/events-that-trigger-workflows#schedule
# https://crontab.guru/
workflow_dispatch:
jobs:
sync-common-types-files:
name: sync-common-types-files
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Repo File Sync Action
uses: JackTn/repo-file-sync-action@v1.1.1
# https://github.com/marketplace/actions/repo-file-sync-action#%EF%B8%8F-action-inputs
with:
GH_PAT: ${{secrets.GH_PAT}}
CONFIG_PATH: .github/sync.yml
GIT_EMAIL: 347142915@qq.com
GIT_USERNAME: JackTn
ASSIGNEES: |
JackTn
PR_LABELS: false