Openeuler gitee repos mirror periodic job #1209
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
# Enable job 2022-09-30 | |
name: Openeuler gitee repos mirror periodic job | |
on: | |
pull_request: | |
# Runs at every pull requests submitted in master branch | |
branches: [ master ] | |
paths: | |
- '.github/workflows/**' | |
schedule: | |
# Runs at 01:00 UTC (9:00 AM Beijing) every day | |
- cron: '0 1 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Mirror the gitee/openeuler org repos to github/openeuler-mirror. | |
uses: Yikun/hub-mirror-action@v1.3 | |
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 | |
black_list: "kernel,qemu,raspberrypi,raspberrypi-kernel,website-v2" |