diff options
Diffstat (limited to '.github/workflows/sync-master-branch.yml')
-rw-r--r-- | .github/workflows/sync-master-branch.yml | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/.github/workflows/sync-master-branch.yml b/.github/workflows/sync-master-branch.yml deleted file mode 100644 index 0542b061b51..00000000000 --- a/.github/workflows/sync-master-branch.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Sync master branch -on: - schedule: - # at 20:00 daily - - cron: "0 20 * * *" -jobs: - sync_master: - # prevent job to run on public repository sonarsource/sonarqube - if: github.repository == 'sonarsource/sonar-enterprise' - runs-on: ubuntu-latest - name: Sync master branch of sonarsource/sonar-enterprise with sonarsource/sonarqube - steps: - - name: Fetch code - uses: actions/checkout@v2 - with: - token: ${{ secrets.GITHUB_ORG_TOKEN }} - ref: master - path: repo - - name: Sync master branch - run: ./repo/private/sync-public-git-branches.sh - env: - GITHUB_ORG_TOKEN: ${{ secrets.GITHUB_ORG_TOKEN }} - BRANCH_NAME: master - - name: Notify failures on Slack - if: failure() - uses: Ilshidur/action-slack@2.0.0 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - with: - args: "Nightly public sync failed, see the logs at https://github.com/SonarSource/sonar-enterprise/actions" |