Files
Brian b99a73f511 feat(bmad): ship the bmod stamper and validator with the bmad skill and a GitHub Action (#2996)
* feat(bmad): ship the bmod stamper and validator with the bmad skill and a GitHub Action

Module repositories run the checks without a copy: the scripts move to
skills/bmad/scripts/, default --project-root to the current directory,
and a composite action.yml runs the validator on the caller's tree.
Ports the CIS stamper's generic rules and its --check mode.

* fix(bmad): validator refuses record versions the runtime cannot order
2026-09-29 20:49:45 +08:00

15 lines
420 B
YAML

name: Validate bmod files
description: Check every skills/*/bmod.toml in the calling repository against the
BMad runtime that reads them.
runs:
using: composite
steps:
- name: Setup uv
uses: astral-sh/setup-uv@v7
- name: Validate bmod files
shell: bash
run: uv run --python 3.11 "$GITHUB_ACTION_PATH/skills/bmad/scripts/validate_manifests.py"
--project-root "$GITHUB_WORKSPACE"