Ascend Gitee repos mirror 2 hours job #5075
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ascend Gitee repos mirror 2 hours job | |
on: | |
pull_request: | |
paths: | |
- '.github/workflows/**' | |
# Runs at every pull requests submitted in master branch | |
branches: [ master ] | |
schedule: | |
# Runs every two hours | |
- cron: '0 */2 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Mirror the gitee/ascend org repos to github/ascend. | |
uses: Yikun/[email protected] | |
with: | |
src: gitee/ascend | |
dst: github/Ascend | |
dst_key: ${{ secrets.SYNC_ASCEND_PRIVATE_KEY }} | |
dst_token: ${{ secrets.SYNC_ASCEND_TOKEN }} | |
account_type: org | |
clone_style: ssh | |
force_update: true | |
debug: true | |
static_list: "pytorch, op-plugin, torchair" |