mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 15:14:31 +00:00
Removing the main to master sync GitHub workflow.
This commit is contained in:
1 parent
2e470e03b4
commit
fe190cf6c9
2 files changed
+1
-25
No files matched your search
@@ -0,0 +1 @@
|
||||
Github action workflows should be stored in this directrory.
|
||||
@@ -1,25 +0,0 @@
|
||||
name: main branch sync
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
|
||||
jobs:
|
||||
branch_sync:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
# persist-credentials: false allows us to use our own credentials for
|
||||
# pushing to the repository. Otherwise, the default github actions token
|
||||
# is used.
|
||||
persist-credentials: false
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Update branch
|
||||
env:
|
||||
LLVMBOT_TOKEN: ${{ secrets.LLVMBOT_MAIN_SYNC }}
|
||||
run: |
|
||||
git push https://$LLVMBOT_TOKEN@github.com/${{ github.repository }} HEAD:master
|
||||
Reference in new issue
Block a user