From 4c5ff9a63b4cbdf2cf16f5899e3bffa0c4623890 Mon Sep 17 00:00:00 2001 From: quicksilver Date: Mon, 12 Jul 2021 18:11:32 +0800 Subject: [PATCH] Fix Protected branch update failed (#6450) Signed-off-by: quicksilver --- .github/workflows/publish-builder.yaml | 7 +++---- .github/workflows/publish-test-images.yaml | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish-builder.yaml b/.github/workflows/publish-builder.yaml index 74968505e9..8120c42f03 100644 --- a/.github/workflows/publish-builder.yaml +++ b/.github/workflows/publish-builder.yaml @@ -64,7 +64,6 @@ jobs: - name: Push Builder Image Changes if: success() && github.event_name == 'push' && github.repository == 'milvus-io/milvus' && matrix.os == 'ubuntu18.04' continue-on-error: true - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.ALL_CONTRIBUTORS_TOKEN }} - branch: ${{ github.ref }} + shell: bash + run: | + git push "https://sre-ci-robot:${{ secrets.ALL_CONTRIBUTORS_TOKEN }}@github.com/${{ GITHUB_REPOSITORY }}.git" HEAD:${{ github.ref }} --follow-tags diff --git a/.github/workflows/publish-test-images.yaml b/.github/workflows/publish-test-images.yaml index 753c48280b..909a26ae6b 100644 --- a/.github/workflows/publish-test-images.yaml +++ b/.github/workflows/publish-test-images.yaml @@ -63,7 +63,6 @@ jobs: - name: Push Pytest Image Changes if: success() && github.event_name == 'push' && github.repository == 'milvus-io/milvus' continue-on-error: true - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.ALL_CONTRIBUTORS_TOKEN }} - branch: ${{ github.ref }} + shell: bash + run: | + git push "https://sre-ci-robot:${{ secrets.ALL_CONTRIBUTORS_TOKEN }}@github.com/${{ GITHUB_REPOSITORY }}.git" HEAD:${{ github.ref }} --follow-tags