Trigger the CI weekly on Sunday night for all development branches with all Temurin Java versions #11
This file contains hidden or 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: Trigger the CI weekly on Sunday night for all development branches with all Temurin Java versions | |
| on: | |
| schedule: | |
| # Runs at 10:00 PM JST (Tokyo time) every Saturday | |
| # JST is UTC+9, so 10:00 PM JST = 1:00 PM UTC | |
| - cron: '0 13 * * SAT' | |
| workflow_dispatch: | |
| jobs: | |
| trigger-ci: | |
| name: Trigger CI for branch ${{ matrix.branch }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| branch: ['master', '3', '3.17', '3.16', '3.15'] | |
| permissions: | |
| actions: write | |
| steps: | |
| - name: Trigger the CI for branch ${{ matrix.branch }} | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: gh workflow run ci-all-java-temurin-versions.yaml --field REPORT_ON_SLACK=true --repo ${{ github.repository }} --ref ${{ matrix.branch }} |