From 5ea8b99f2b1b9465f94548132605779c820a9d9d Mon Sep 17 00:00:00 2001 From: Sacha Weatherstone Date: Tue, 20 Apr 2021 19:12:39 +1000 Subject: [PATCH] Update CI --- .github/workflows/update_protobufs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update_protobufs.yml b/.github/workflows/update_protobufs.yml index 6f961f88..08273a11 100644 --- a/.github/workflows/update_protobufs.yml +++ b/.github/workflows/update_protobufs.yml @@ -10,7 +10,6 @@ jobs: - name: Checkout code uses: actions/checkout@v2 with: - token: ${{ secrets.ACCESS_TOKEN }} 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 submodules: true - name: Update Submodule @@ -22,4 +21,5 @@ jobs: run: | git config --global user.name 'github-actions' git config --global user.email 'bot@noreply.github.com' + git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} git commit -m "Update protobuf submodule" && git push || echo "No changes to commit"