Fix Protected branch update failed in GitHub Action (#6453)

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
This commit is contained in:
quicksilver 2021-07-12 19:27:01 +08:00 committed by GitHub
parent d6f8846e88
commit c10cedb826
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -66,4 +66,4 @@ jobs:
continue-on-error: true continue-on-error: true
shell: bash shell: bash
run: | 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

View File

@ -65,4 +65,4 @@ jobs:
continue-on-error: true continue-on-error: true
shell: bash shell: bash
run: | 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