From f2240a2c5e0684ad5be8a983dfcae3c639176d97 Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Thu, 1 Jun 2023 08:43:31 +0100 Subject: [PATCH] Schedule e2e in main and 3.0.x --- .github/workflows/e2e.yml | 2 -- .github/workflows/schedule-e2e.yml | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/schedule-e2e.yml diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 01359bac..804ae504 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -2,8 +2,6 @@ name: e2e on: workflow_dispatch: - schedule: - - cron: '0 0 * * 1,3,5' jobs: build: diff --git a/.github/workflows/schedule-e2e.yml b/.github/workflows/schedule-e2e.yml new file mode 100644 index 00000000..36095386 --- /dev/null +++ b/.github/workflows/schedule-e2e.yml @@ -0,0 +1,24 @@ +name: Schedule e2e + +on: + workflow_dispatch: + schedule: + - cron: '0 0 * * 1,3,5' + +permissions: read-all + +jobs: + dispatch_e2e: + name: Dispatch e2e + if: github.repository_owner == 'spring-projects' + strategy: + matrix: + branch: [ main, 3.0.x ] + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 1 + - name: Dispatch + run: gh workflow run e2e.yml -r ${{ matrix.branch }}