From fe190cf6c99e03389ded12f435da1658d52b782d Mon Sep 17 00:00:00 2001 From: Mike Edwards Date: Thu, 28 Jan 2021 12:18:13 -0800 Subject: [PATCH] Removing the main to master sync GitHub workflow. --- .github/workflows/README.md | 1 + .github/workflows/main-branch-sync.yml | 25 ------------------------- 2 files changed, 1 insertion(+), 25 deletions(-) create mode 100644 .github/workflows/README.md delete mode 100644 .github/workflows/main-branch-sync.yml 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