Files
spring-shell/.github/workflows/schedule-e2e.yml
2023-06-02 06:25:34 +01:00

27 lines
532 B
YAML

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
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: gh workflow run e2e.yml -r ${{ matrix.branch }}