Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove sync with internal repo #3467

Merged
merged 2 commits into from
Jan 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
19 changes: 2 additions & 17 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,11 @@ concurrency:
cancel-in-progress: true

jobs:
# This job sync this repo to our internal repo
repo-sync:
runs-on: ubuntu-22.04
if: ${{ github.event.repository.fork == false }}
steps:
- name: Repo Sync
uses: wei/git-sync@55c6b63b4f21607da0e9877ca9b4d11a29fc6d83 # v3.0.0
with:
source_repo: "nginxinc/kubernetes-ingress"
source_branch: "main"
destination_repo: ${{ secrets.SYNC_DEST_REPO_URL }}
destination_branch: "main"
ssh_private_key: ${{ secrets.SYNC_SSH_PRIVATE_KEY }}

# This job sync the labels across the various repos
labels-sync:
runs-on: ubuntu-22.04
if: ${{ github.event.repository.fork == false }}
strategy:
# don't break another job if one is failed
fail-fast: false
matrix:
repo:
Expand All @@ -39,8 +26,6 @@ jobs:
- nginxinc/nginx-prometheus-exporter
- nginxinc/nginx-plus-go-client
- nginxinc/nginx-asg-sync
runs-on: ubuntu-22.04
if: ${{ github.event.repository.fork == false }}
steps:
- name: Checkout
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
Expand Down