diff --git a/.github/workflows/version-check.yml b/.github/workflows/version-check.yml new file mode 100644 index 0000000..95fc33a --- /dev/null +++ b/.github/workflows/version-check.yml @@ -0,0 +1,32 @@ +name: version-check + +# Weekly: Claude checks the software facts on these pages against current primary sources and +# opens a pull request with any corrections, each with its sources. The checker and the +# reusable workflow live in ATR-Lab/.github (tools/docs-version-updater/README.md). + +on: + schedule: + - cron: "0 12 * * 1" # Mondays, 12:00 UTC + workflow_dispatch: + inputs: + paths: + description: Globs of the pages to check (blank checks the usual pages) + type: string + default: "" + max-files: + description: Check at most this many pages (0 checks them all) + type: number + default: 0 + +permissions: + contents: write + pull-requests: write + +jobs: + check: + uses: ATR-Lab/.github/.github/workflows/docs-version-updater.yml@main + with: + paths: ${{ inputs.paths || 'README.md docs/*.md' }} + max-files: ${{ inputs.max-files || 0 }} + secrets: + ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY_ATR_LAB_DOC_UPDATER }} diff --git a/AGENTS.md b/AGENTS.md index 2e234f5..bd4424a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -15,6 +15,7 @@ This repo is the Advanced Telerobotics Research Laboratory's development standar | `.lycheeignore` | URL patterns the link checker skips: sites that block bots and template placeholders | | `.github/workflows/docs.yml` | CI: markdownlint and lychee link check | | `.github/workflows/configs.yml` | CI: runs `scripts/check-configs.sh`, one job per language | +| `.github/workflows/version-check.yml` | Weekly (Mondays): Claude checks the software facts on these pages against current sources and opens a pull request on `automation/version-updates`; review its sources before merging. Logic in `ATR-Lab/.github` (`tools/docs-version-updater/`) | | `.github/assets/header.png`, `social-preview.png` | README banner and GitHub social preview (do not regenerate) | | `.github/assets/icons/*.png` | Navy icon badges used by the README card grid | | `docs/README.md` | Index of all guides |