llvm-project/.github/workflows/main-branch-sync.yml

22 lines
441 B
YAML

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
env:
LLVMBOT_TOKEN: ${{ secrets.LLVMBOT_MAIN_SYNC }}
run: |
git push https://$LLVMBOT_TOKEN@github.com/${{ github.repository }} HEAD:temp-test-main