[PATCH] github actions: Pepare main branch for being read/write
authorMike Edwards <medwards@apple.com>
Mon, 7 Dec 2020 06:16:36 +0000 (22:16 -0800)
committerMike Edwards <medwards@apple.com>
Mon, 7 Dec 2020 06:16:36 +0000 (22:16 -0800)
Patch provided by Tom Stellard <tstellar@redhat.com>

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

index e0370a8..5ea360e 100644 (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