From a09e38471fe971f5e95917c2c5b3a15183c604df Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sun, 18 Apr 2021 19:57:50 +0200 Subject: [PATCH] [ci] Run git-repo-sync only on pushes, not on pull requests Also remove unneeded actions --- .github/workflows/git-repo-sync.yml | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/.github/workflows/git-repo-sync.yml b/.github/workflows/git-repo-sync.yml index 18981e5f7f..198d10e8fb 100644 --- a/.github/workflows/git-repo-sync.yml +++ b/.github/workflows/git-repo-sync.yml @@ -7,36 +7,15 @@ on: - master tags: - '**' - pull_request: - schedule: - # build it monthly: At 04:00 on day-of-month 1. - - cron: '0 4 1 * *' jobs: build: - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest continue-on-error: false - strategy: - matrix: - os: [ ubuntu-latest, windows-latest, macos-latest ] - if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }} steps: - uses: actions/checkout@v2 with: fetch-depth: 2 - - uses: actions/cache@v2 - with: - path: | - ~/.m2/repository - ~/.cache - vendor/bundle - key: ${{ runner.os }}-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}- - - name: Set up Ruby 2.7 - uses: actions/setup-ruby@v1 - with: - ruby-version: 2.7 - name: Setup Environment shell: bash run: |