github.com/nginxinc/kubernetes-ingress@v1.12.5/.github/workflows/sync.yml (about) 1 name: Sync 2 3 on: 4 push: 5 branches: 6 - master 7 8 jobs: 9 # This job sync this repo to our internal repo 10 repo-sync: 11 runs-on: ubuntu-20.04 12 steps: 13 - name: Repo Sync 14 uses: wei/git-sync@v3 15 with: 16 source_repo: "nginxinc/kubernetes-ingress" 17 source_branch: "master" 18 destination_repo: ${{ secrets.SYNC_DEST_REPO_URL }} 19 destination_branch: "master" 20 ssh_private_key: ${{ secrets.SYNC_SSH_PRIVATE_KEY }} 21 22 # This job open a PR to sync the generated CRD files across to nginx-ingress-operator 23 # (see .github/sync.yml for config details) 24 crds-sync: 25 runs-on: ubuntu-latest 26 steps: 27 - name: Checkout Repository 28 uses: actions/checkout@v2 29 - name: Run CRD File Sync 30 uses: BetaHuhn/repo-file-sync-action@v1 31 with: 32 GH_PAT: ${{ secrets.NGINX_PAT }} 33 ASSIGNEES: "nginxinc/kic" 34 PR_LABELS: chore 35 COMMIT_EACH_FILE: false 36 37 # This job sync the labels across the various repos 38 labels-sync: 39 strategy: 40 # don't break another job if one is failed 41 fail-fast: false 42 matrix: 43 repo: 44 - nginxinc/kubernetes-ingress 45 - nginxinc/nginx-ingress-operator 46 - nginxinc/nginx-prometheus-exporter 47 - nginxinc/nginx-plus-go-client 48 - nginxinc/nginx-asg-sync 49 - nginxinc/nginx-ns1-gslb 50 runs-on: ubuntu-latest 51 steps: 52 - name: Checkout 53 uses: actions/checkout@v2 54 - name: Sync Labels 55 uses: micnncim/action-label-syncer@v1 56 with: 57 repository: ${{ matrix.repo }} 58 token: ${{ secrets.NGINX_PAT }} 59 prune: true