[PATCH] D91554: GitHub Actions: Add job for automatically updating the main branch
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 20 22:27:50 PST 2020
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGda886bf471e7: GitHub Actions: Add job for automatically updating the main branch (authored by tstellar).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91554/new/
https://reviews.llvm.org/D91554
Files:
.github/workflows/main-branch-sync.yml
Index: .github/workflows/main-branch-sync.yml
===================================================================
--- /dev/null
+++ .github/workflows/main-branch-sync.yml
@@ -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 at v2
+ with:
+ fetch-depth: 0
+
+ - name: Update branch
+ run: |
+ git push https://${{ github.token }}@github.com/${{ github.repository }} HEAD:temp-test-main
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91554.306826.patch
Type: text/x-patch
Size: 582 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201121/1f0e8690/attachment.bin>
More information about the llvm-commits
mailing list