mirror of
https://github.com/msitarzewski/agency-agents.git
synced 2026-06-26 11:44:38 +03:00
d4067cc48a
Mirrors check-divisions.yml. Runs scripts/check-tools.sh on every PR and on push to main (no path filter) so any change to ALL_TOOLS in install.sh, the converter set in convert.sh, or tools.json that breaks consistency fails the build — same CI protection divisions.json already has. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
21 lines
511 B
YAML
21 lines
511 B
YAML
name: Check Tools Consistency
|
|
|
|
# Runs on every PR (no path filter on purpose): a new or renamed tool must trip
|
|
# this check even when nobody touched tools.json or the install/convert scripts.
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
check-tools:
|
|
name: tools.json is the single source of truth
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Validate tool set
|
|
run: |
|
|
chmod +x scripts/check-tools.sh
|
|
./scripts/check-tools.sh
|