[PATCH] github actions: Pepare main branch for being read/write

Patch provided by Tom Stellard <tstellar@redhat.com>
This commit is contained in:
Mike Edwards 2020-12-06 22:16:36 -08:00
parent 28fdeea952
commit 62ec4ac907
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ name: main branch sync
on:
push:
branches:
- 'master'
- 'main'
jobs:
branch_sync:
@ -22,4 +22,4 @@ jobs:
env:
LLVMBOT_TOKEN: ${{ secrets.LLVMBOT_MAIN_SYNC }}
run: |
git push https://$LLVMBOT_TOKEN@github.com/${{ github.repository }} HEAD:main
git push https://$LLVMBOT_TOKEN@github.com/${{ github.repository }} HEAD:master