Release Scheduler #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Scheduler | |
on: | |
schedule: | |
- cron: '15 13 * * TUE' # Every Tuesday at 13:15pm UTC | |
workflow_dispatch: | |
permissions: read-all | |
jobs: | |
dispatch_scheduled_releases: | |
name: Dispatch scheduled releases | |
if: ${{ github.repository_owner == 'spring-projects' }} | |
strategy: | |
matrix: | |
# List of active maintenance branches. | |
branch: [ main, 3.3.x, 3.2.x ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
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 }} |