Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Edwards <medwards@apple.com>2021-01-28 23:18:13 +0300
committerMike Edwards <medwards@apple.com>2021-01-28 23:18:25 +0300
commitfe190cf6c99e03389ded12f435da1658d52b782d (patch)
treec96b42595967b486bad64024593c0ba6d10eeabb /.github
parent2e470e03b49f1d79ebc315ca9d62a690a633c0cd (diff)
Removing the main to master sync GitHub workflow.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/README.md1
-rw-r--r--.github/workflows/main-branch-sync.yml25
2 files changed, 1 insertions, 25 deletions
diff --git a/.github/workflows/README.md b/.github/workflows/README.md
new file mode 100644
index 000000000000..2781d9cc0e63
--- /dev/null
+++ b/.github/workflows/README.md
@@ -0,0 +1 @@
+Github action workflows should be stored in this directrory.
diff --git a/.github/workflows/main-branch-sync.yml b/.github/workflows/main-branch-sync.yml
deleted file mode 100644
index 5ea360e281d6..000000000000
--- a/.github/workflows/main-branch-sync.yml
+++ /dev/null
@@ -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