mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 22:00:10 +00:00
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.
This commit is contained in:
parent
175ebad958
commit
c9eae09251
4
.github/workflows/main-branch-sync.yml
vendored
4
.github/workflows/main-branch-sync.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user