Start Cron jobs #188
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: Start Cron jobs | |
on: | |
# NOTE: Schedule is only run on the latest commit of the default branch, | |
# so we need to schedule Cron Jobs for all branches here | |
schedule: | |
- cron: "1 0 * * 1-5" | |
jobs: | |
crons: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: "Nightly for 127.0" | |
branch: "development/127.0" | |
workflow: "nightly.yaml" | |
- name: "Nightly for 126.0" | |
branch: "development/126.0" | |
workflow: "nightly.yaml" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Run ${{ matrix.name }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GIT_ACCESS_TOKEN }} | |
run: gh workflow run ${{ matrix.workflow }} --ref=${{ matrix.branch }} |