Schedule e2e in main and 3.0.x

This commit is contained in:
Janne Valkealahti
2023-06-01 08:43:31 +01:00
parent c125c46010
commit f2240a2c5e
2 changed files with 24 additions and 2 deletions

View File

@@ -2,8 +2,6 @@ name: e2e
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 1,3,5'
jobs:
build:

24
.github/workflows/schedule-e2e.yml vendored Normal file
View File

@@ -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 }}