Skip to content

Scheduled workflows #242

Scheduled workflows

Scheduled workflows #242

name: Scheduled workflows
on:
# Allow manual runs through the web UI
workflow_dispatch:
schedule:
# ┌───────── minute (0 - 59)
# │ ┌───────── hour (0 - 23)
# │ │ ┌───────── day of the month (1 - 31)
# │ │ │ ┌───────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────── day of the week (0 - 6 or SUN-SAT)
- cron: '0 7 * * 1,3,5' # Every Mon,Wed,Fri at 07:00 UTC
jobs:
dispatch_workflows:
runs-on: ubuntu-slim
steps:
- run: gh workflow run spack-ci.yml --repo GEOS-ESM/MAPL --ref main
- run: gh workflow run spack-ci.yml --repo GEOS-ESM/MAPL --ref develop
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}