Sync all commits from one public repo to another private repo by creating pull request automatically.
Required The repository need to sync.
Required The repository token to access the codebase.
Optional The access token of dingtalk. Default ""
.
Optional The secret of dingtalk. Default ""
.
In private repository workflow:
name: My Workflow
on:
schedule:
- cron: '0 8 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: vesoft-inc/auto-sync-repos@master
with:
from_repo: vesoft-inc/nebula
repo_token: ${{ secrets.GH_PAT }}
dingtalk_access_token: ${{ secrets.DING_ACCESS_TOKEN }}
dingtalk_secret: ${{ secrets.DING_SECRET }}