Skip to content

MindSpore Gitee repos mirror periodic job #14828

MindSpore Gitee repos mirror periodic job

MindSpore Gitee repos mirror periodic job #14828

Workflow file for this run

name: MindSpore Gitee repos mirror periodic job
on:
pull_request:
paths:
- '.github/workflows/**'
# Runs at every pull requests submitted in master branch
branches: [ master, main ]
schedule:
# Runs at 0,2,4,6...,22th hour every day (every 2 hours)
- cron: '0 */2 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Mirror the mindspore.
uses: Yikun/[email protected]
with:
src: gitee/mindspore
dst: github/mindspore-ai
dst_key: ${{ secrets.SYNC_MINDSPORE_PRIVATE_KEY }}
dst_token: ${{ secrets.SYNC_MINDSPORE_TOKEN }}
account_type: org
clone_style: ssh
force_update: true
static_list: 'mindspore'
debug: true
lfs: true
- name: Mirror the gitee/mindspore org repos to github/mindspore-ai.
uses: Yikun/[email protected]
with:
src: gitee/mindspore
dst: github/mindspore-ai
dst_key: ${{ secrets.SYNC_MINDSPORE_PRIVATE_KEY }}
dst_token: ${{ secrets.SYNC_MINDSPORE_TOKEN }}
account_type: org
clone_style: ssh
force_update: true
black_list: 'infrastructure,mindcv,mindformers'
debug: true
lfs: true