Skip to content

evidence-freshness

evidence-freshness #10

name: evidence-freshness
# Published evidence is bound to one exact openadapt-flow wheel. A Flow release
# can therefore invalidate it without any commit landing here, so the check runs
# on a schedule as well as on changes to the evidence itself. It is one small
# job, so it costs a few seconds a day rather than a matrix.
on:
schedule:
- cron: '17 6 * * *'
workflow_dispatch:
pull_request:
branches: [main]
paths:
- 'docs/eval_results/**'
- 'scripts/check_published_evidence_freshness.py'
- '.github/workflows/evidence-freshness.yml'
concurrency:
group: evidence-freshness-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
freshness:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: '3.12'
# Standard library only: no dependency install, no lockfile, no cache.
- name: Check published evidence against the current published release
run: python scripts/check_published_evidence_freshness.py