openEuler high priority mirror periodic job #1276
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: openEuler high priority mirror periodic job | |
on: | |
pull_request: | |
# Runs at every pull requests submitted in master branch | |
branches: [ master ] | |
paths: | |
- '.github/workflows/**' | |
schedule: | |
# Runs every 2 hours, starting at 01:00. | |
- cron: '0 1/2 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Mirror the gitee/openeuler org repos to github/openeuler-mirror. | |
uses: Yikun/[email protected] | |
with: | |
src: gitee/openeuler | |
dst: github/openeuler-mirror | |
dst_key: ${{ secrets.SYNC_EULER_PRIVATE_KEY }} | |
dst_token: ${{ secrets.SYNC_EULER_TOKEN }} | |
account_type: org | |
clone_style: ssh | |
force_update: true | |
debug: true | |
static_list: "stratovirt" |