2022-05-04 15:05:14 -04:00
|
|
|
name: Release Scheduler
|
|
|
|
on:
|
|
|
|
schedule:
|
2022-11-21 19:49:18 -05:00
|
|
|
- cron: '15 15 * * MON' # Every Monday at 3:15pm UTC
|
2022-05-04 15:05:14 -04:00
|
|
|
workflow_dispatch:
|
2022-11-21 19:49:18 -05:00
|
|
|
permissions: read-all
|
2022-05-04 15:05:14 -04:00
|
|
|
jobs:
|
|
|
|
dispatch_scheduled_releases:
|
|
|
|
name: Dispatch scheduled releases
|
2022-11-21 19:49:18 -05:00
|
|
|
if: github.repository_owner == 'spring-projects'
|
2022-05-04 15:05:14 -04:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
# List of active maintenance branches.
|
2024-05-24 10:28:50 -04:00
|
|
|
branch: [ main, 6.3.x, 6.2.x, 5.8.x ]
|
2022-05-04 15:05:14 -04:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-11-21 19:49:18 -05:00
|
|
|
- name: Checkout
|
2023-12-14 07:07:56 -05:00
|
|
|
uses: actions/checkout@v4
|
2022-11-21 19:49:18 -05:00
|
|
|
with:
|
|
|
|
fetch-depth: 1
|
|
|
|
- name: Dispatch
|
|
|
|
env:
|
|
|
|
GH_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
|
|
|
|
run: gh workflow run update-scheduled-release-version.yml -r ${{ matrix.branch }}
|