forked from 58563528/AutoSyncScript
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (27 loc) · 736 Bytes
/
Copy pathxdd_plus.yml
File metadata and controls
28 lines (27 loc) · 736 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
name: 同步764763903a/xdd-plus仓库
on:
schedule:
- cron: '36 */8 * * *'
workflow_dispatch:
watch:
types: started
repository_dispatch:
types: sync-764763903a-xdd-plus
jobs:
repo-sync:
env:
PAT: ${{ secrets.PAT }}
runs-on: ubuntu-latest
if: github.event.repository.owner.id == github.event.sender.id
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: sync 764763903a-xdd-plus
uses: repo-sync/github-sync@v2
if: env.PAT
with:
source_repo: "https://github.com/764763903a/xdd-plus.git"
source_branch: "main"
destination_branch: "xdd-plus"
github_token: ${{ secrets.PAT }}