Files
BiliBiliToolPro/.github/workflows/repo-sync.yml
database-mysql e519cac94e
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
Close Stale Issues / close_stale_issues (push) Has been cancelled
repo-sync / repo-sync (push) Has been cancelled
auto-deploy-tencent-scf / pre-check (push) Has been cancelled
auto-deploy-tencent-scf / deploy serverless (push) Has been cancelled
pull file
2026-02-11 23:32:56 +08:00

29 lines
713 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 自动同步上游仓库
name: repo-sync
on:
workflow_dispatch:
schedule:
- cron: '0 1 * * 1,3,5'
# UTC时区比我们东八区早8小时上面示例为每周一、三、五的9点。
jobs:
repo-sync:
if: ${{ github.repository != 'RayWangQvQ/BiliBiliToolPro' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: repo-sync
uses: repo-sync/github-sync@v2
with:
source_repo: "https://github.com/RayWangQvQ/BiliBiliToolPro.git"
source_branch: "main"
destination_branch: "main"
sync_tags: "true"
github_token: ${{ secrets.PAT }}