-
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 1.27 KB
/
pull.yml
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
31
name: fetch origins
on:
push:
branches: buctbase
schedule:
- cron: 0 */48 * * * # 每隔48小时
jobs:
fetch:
name: fetch origin
runs-on: ubuntu-latest
steps:
- name: fetch myl7
uses: TobKed/github-forks-sync-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }} # 令牌
upstream_repository: myl7/onedrive-vercel-index # 上游仓库
target_repository: Ovler-Young/buctbase # 你要推送的仓库
upstream_branch: dev # 默认是拉取上游仓库的 master 分支
target_branch: myl7-upstream # 默认推送到你的仓库 master 分支
force: false # 是否强制推送
tags: true # 确定是否使用 - tags
- name: fetch spencerwooo
uses: TobKed/github-forks-sync-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }} # 令牌
upstream_repository: spencerwooo/onedrive-vercel-index # 上游仓库
target_repository: Ovler-Young/buctbase # 你要推送的仓库
upstream_branch: main # 默认是拉取上游仓库的 master 分支
target_branch: origin # 默认推送到你的仓库 master 分支
force: false # 是否强制推送
tags: true # 确定是否使用 - tags