Skip to content

fetch origins

fetch origins #595

Workflow file for this run

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