From f71d77c784d31656ce60d36d3e8ec7b1c1873608 Mon Sep 17 00:00:00 2001 From: Julian Figueroa Date: Tue, 19 Dec 2023 15:00:10 -0500 Subject: [PATCH] Delete shadow GH job --- .github/workflows/buf-shadow-sync.yaml | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 .github/workflows/buf-shadow-sync.yaml diff --git a/.github/workflows/buf-shadow-sync.yaml b/.github/workflows/buf-shadow-sync.yaml deleted file mode 100644 index 357f9b0477..0000000000 --- a/.github/workflows/buf-shadow-sync.yaml +++ /dev/null @@ -1,26 +0,0 @@ -name: Buf shadow sync - -on: - # TODO: reenable after multibranch improvements - # push: # Any push, regardless if it contains proto changes or not - workflow_dispatch: # also allow manual trigger - -jobs: - sync: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 # fetch all branches and commits, so we can loop them - - run: git remote set-head origin --auto # set a HEAD for remote/origin, so buf sync can pickup the current default branch - - name: setup-go - uses: actions/setup-go@v4 - with: - go-version: '1.21.x' - - name: Install Local Buf - run: GOBIN="$HOME/go/bin" go install ./cmd/buf # use CLI version from the checked out code - - run: buf --version - - name: Login to testcustomer cluster - run: echo ${{ secrets.BUF_TESTINSTANCE_TOKEN }} | buf registry login testinstance.staging-tenants.buf.team --username bufbot --token-stdin - - name: Sync current branch - run: buf alpha repo sync --debug --timeout 0 --module proto:testinstance.staging-tenants.buf.team/bufbuild/buf-shadow-sync --create --create-visibility public