32 lines
757 B
YAML
32 lines
757 B
YAML
name: Command Code model metadata
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "17 6 * * *"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: commandcode-model-metadata
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
cache: npm
|
|
registry-url: https://registry.npmjs.org
|
|
- run: npm ci
|
|
- name: Compare static metadata with the latest Command Code CLI
|
|
run: npm run check:model-metadata | tee model-metadata-report.md
|
|
- name: Publish metadata report
|
|
if: always()
|
|
run: cat model-metadata-report.md >> "$GITHUB_STEP_SUMMARY"
|