* ci: add freshness check for auto-generated system prompts Add a CI workflow and script to verify system_prompts/auto-generated/ stays in sync with its source files (SDKs, schemas, CLI commands, etc). Also remove the hardcoded CLI version from generated output to avoid unnecessary churn on every release. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * imports * imports Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * regenerate system prompts after rebase on main Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
38 lines
923 B
YAML
38 lines
923 B
YAML
name: Check system prompts freshness
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "system_prompts/**"
|
|
- "typescript-client/**"
|
|
- "python-client/wmill/wmill/client.py"
|
|
- "openflow.openapi.yaml"
|
|
- "backend/windmill-api/openapi.yaml"
|
|
- "cli/src/main.ts"
|
|
- "cli/src/commands/**"
|
|
pull_request:
|
|
paths:
|
|
- "system_prompts/**"
|
|
- "typescript-client/**"
|
|
- "python-client/wmill/wmill/client.py"
|
|
- "openflow.openapi.yaml"
|
|
- "backend/windmill-api/openapi.yaml"
|
|
- "cli/src/main.ts"
|
|
- "cli/src/commands/**"
|
|
|
|
jobs:
|
|
check-freshness:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.12"
|
|
|
|
- name: Install dependencies
|
|
run: pip install pyyaml
|
|
|
|
- name: Check auto-generated files are up-to-date
|
|
run: bash system_prompts/check-freshness.sh
|