Skip to content

Scheduled Checks

Scheduled Checks #9

Workflow file for this run

name: Scheduled Checks
on:
workflow_dispatch:
schedule:
- cron: '0 0 1 * *' # once a month
jobs:
setup:
name: Setup Tasks
runs-on: ubuntu-latest
outputs:
tags: ${{ steps.get-released-config.outputs.tags }}
steps:
- uses: actions/checkout@v4
with:
ref: main
- name: Get all released configs
id: get-released-config
run: echo "tags=$(jq --compact-output --raw-output '.tags' config/released-configs.json)" >> $GITHUB_OUTPUT
repro-ci:
# We use this reusable workflow with a matrix strategy rather than calling repro-ci.yml, as
# we may want to do config-branch-specific tasks after the matrixed repro-ci.yml has completed.
needs:
- setup
strategy:
fail-fast: false
matrix:
config-tag: ${{ fromJson(needs.setup.outputs.tags) }}
uses: ./.github/workflows/schedule-2-start.yml
with:
config-tag: ${{ matrix.config-tag }}
secrets: inherit
permissions:
checks: write
contents: write
issues: write