From fa66cf52b0dbf559d1890e1bd9642637f719f490 Mon Sep 17 00:00:00 2001 From: Danny Chiao Date: Tue, 9 Nov 2021 14:54:38 -0500 Subject: [PATCH] Remove unneeded mirror Signed-off-by: Danny Chiao --- .github/workflows/java_mirror.yml | 25 ------------------------- .github/workflows/java_release.yml | 2 -- 2 files changed, 27 deletions(-) delete mode 100644 .github/workflows/java_mirror.yml diff --git a/.github/workflows/java_mirror.yml b/.github/workflows/java_mirror.yml deleted file mode 100644 index cf8527aefc..0000000000 --- a/.github/workflows/java_mirror.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: mirror - -on: - push: - branches: - - master - tags: - - 'v*.*.*' - -jobs: - mirror: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - uses: webfactory/ssh-agent@v0.4.1 - with: - ssh-private-key: ${{ secrets.MIRROR_SSH_KEY }} - - name: Mirror all origin branches and tags to internal repo - run: | - export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" - git remote add internal ${{ secrets.INTERNAL_REPO }} - git push internal --all -f - git push internal --tags -f diff --git a/.github/workflows/java_release.yml b/.github/workflows/java_release.yml index 8899b8ceeb..bd3563306f 100644 --- a/.github/workflows/java_release.yml +++ b/.github/workflows/java_release.yml @@ -14,8 +14,6 @@ jobs: highest_semver_tag: ${{ steps.get_highest_semver.outputs.highest_semver_tag }} steps: - uses: actions/checkout@v2 - with: - submodules: 'true' - name: Get release version id: get_release_version run: echo ::set-output name=release_version::${GITHUB_REF#refs/*/}