openGauss gitee repos mirror periodic job #19644
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 2021-02-25 | |
name: openGauss gitee repos mirror periodic job | |
on: | |
pull_request: | |
# Runs at every pull requests submitted in master branch | |
branches: [ master ] | |
paths: | |
- '.github/workflows/**' | |
schedule: | |
# Runs every hour | |
- cron: '0 * * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Mirror the gitee/opengauss org repos to github/opengauss-mirror. | |
uses: Yikun/hub-mirror-action@v1.0 | |
with: | |
src: gitee/opengauss | |
dst: github/opengauss-mirror | |
dst_key: ${{ secrets.SYNC_GAUSS_PRIVATE_KEY }} | |
dst_token: ${{ secrets.SYNC_GAUSS_TOKEN }} | |
account_type: org | |
# Skip this repo due to bigfile reason | |
black_list: "openGauss-third_party" | |
debug: true | |
force_update: true |