Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2020-11-26 01:43:18 +0300
committerGitHub <noreply@github.com>2020-11-26 01:43:18 +0300
commitc9eae09251e3e7d5a77a5970dfd59a4e81c9b936 (patch)
tree8b2c8ebe07a3e75cb94de12a33ce419155184bc6 /.github
parent175ebad958a0ebaf6c56c20ab30b9d4347742c29 (diff)
github actions: Use llvmbot token for main branch sync
The default github actions token cannot push to restricted branches, so we need to use a token from the llvmbot user.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main-branch-sync.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/main-branch-sync.yml b/.github/workflows/main-branch-sync.yml
index 783c85041a1e..c8cd4773858b 100644
--- a/.github/workflows/main-branch-sync.yml
+++ b/.github/workflows/main-branch-sync.yml
@@ -15,5 +15,7 @@ jobs:
fetch-depth: 0
- name: Update branch
+ env:
+ LLVMBOT_TOKEN: ${{ secrets.LLVMBOT_MAIN_SYNC }}
run: |
- git push https://${{ github.token }}@github.com/${{ github.repository }} HEAD:temp-test-main
+ git push https://$LLVMBOT_TOKEN@github.com/${{ github.repository }} HEAD:temp-test-main