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