mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 22:00:10 +00:00
GitHub Actions: Add job for automatically updating the main branch
Differential Revision: https://reviews.llvm.org/D91554
This commit is contained in:
parent
8605d3134c
commit
da886bf471
19
.github/workflows/main-branch-sync.yml
vendored
Normal file
19
.github/workflows/main-branch-sync.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: main branch sync
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
|
||||
jobs:
|
||||
branch_sync:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Update branch
|
||||
run: |
|
||||
git push https://${{ github.token }}@github.com/${{ github.repository }} HEAD:temp-test-main
|
Loading…
Reference in New Issue
Block a user