Browse Source
- add 6.0.x to release scheduler workflow - upgrade Antora to 3.2.0-alpha.2 - remove Antora patch to support linked worktrees - upgrade Antora Collector to latest alpha - remove dispatch.sh script (handled by gh run workflow) - consistently use gh run workflow to trigger workflows - remove step to publish generated docs (no longer in use)pull/12466/head
2 changed files with 15 additions and 23 deletions
@ -1,32 +1,24 @@ |
|||||||
name: Release Scheduler |
name: Release Scheduler |
||||||
|
|
||||||
on: |
on: |
||||||
schedule: |
schedule: |
||||||
- cron: '15 15 * * MON' # Every Monday at 3:15pm UTC |
- cron: '15 15 * * MON' # Every Monday at 3:15pm UTC |
||||||
workflow_dispatch: |
workflow_dispatch: |
||||||
|
permissions: read-all |
||||||
permissions: |
|
||||||
contents: read |
|
||||||
|
|
||||||
jobs: |
jobs: |
||||||
dispatch_scheduled_releases: |
dispatch_scheduled_releases: |
||||||
name: Dispatch scheduled releases |
name: Dispatch scheduled releases |
||||||
if: ${{ github.repository == 'spring-projects/spring-security' }} |
if: github.repository_owner == 'spring-projects' |
||||||
strategy: |
strategy: |
||||||
matrix: |
matrix: |
||||||
# |
|
||||||
# List of active maintenance branches. |
# List of active maintenance branches. |
||||||
# |
branch: [ main, 6.0.x, 5.8.x, 5.7.x, 5.6.x ] |
||||||
branch: |
|
||||||
- 'main' |
|
||||||
- '5.8.x' |
|
||||||
- '5.7.x' |
|
||||||
- '5.6.x' |
|
||||||
runs-on: ubuntu-latest |
runs-on: ubuntu-latest |
||||||
env: |
|
||||||
TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }} |
|
||||||
steps: |
steps: |
||||||
- uses: actions/checkout@v2 |
- name: Checkout |
||||||
- uses: spring-io/spring-gradle-build-action@v1 |
uses: actions/checkout@v3 |
||||||
- name: Trigger release workflow |
with: |
||||||
run: ./gradlew dispatchGitHubWorkflow -Pbranch=${{ matrix.branch }} -PworkflowId=update-scheduled-release-version.yml -PgitHubAccessToken=$TOKEN |
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 }} |
||||||
|
|||||||
Loading…
Reference in new issue