From c10cedb82647dc87cae69733c9b9d7b23b28c593 Mon Sep 17 00:00:00 2001 From: quicksilver Date: Mon, 12 Jul 2021 19:27:01 +0800 Subject: [PATCH] Fix Protected branch update failed in GitHub Action (#6453) Signed-off-by: quicksilver --- .github/workflows/publish-builder.yaml | 2 +- .github/workflows/publish-test-images.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-builder.yaml b/.github/workflows/publish-builder.yaml index 368f7292d5..5873e9e305 100644 --- a/.github/workflows/publish-builder.yaml +++ b/.github/workflows/publish-builder.yaml @@ -66,4 +66,4 @@ jobs: continue-on-error: true shell: bash run: | - git push "https://sre-ci-robot:${{ secrets.ALL_CONTRIBUTORS_TOKEN }}@github.com/$GITHUB_REPOSITORY.git" HEAD:${{ github.ref }} --follow-tags + git push "https://${{ 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 54c8f1325d..80d85ba124 100644 --- a/.github/workflows/publish-test-images.yaml +++ b/.github/workflows/publish-test-images.yaml @@ -65,4 +65,4 @@ jobs: continue-on-error: true shell: bash run: | - git push "https://sre-ci-robot:${{ secrets.ALL_CONTRIBUTORS_TOKEN }}@github.com/$GITHUB_REPOSITORY.git" HEAD:${{ github.ref }} --follow-tags + git push "https://${{ secrets.ALL_CONTRIBUTORS_TOKEN }}@github.com/$GITHUB_REPOSITORY.git" HEAD:${{ github.ref }} --follow-tags