Files
molecule-ai-workspace-templ…/.gitea/workflows/seo-lint.yml
T
hongming-personal fdae101875 fix(seo-agent): ship agent-skills from repo root for RFC #2843 delivery
The seo-all skill package lived under source/seo-agent-template-main/agent-skills/
(legacy 12 KiB CP-config-cap layout). The RFC #2843 template-asset fetcher's
allowlist (IsCPTemplateAssetPath) only matches root-level config.yaml/prompts/*/
agent-skills/*, so seo-all was dropped -> agent_card.skills stayed []. Move
agent-skills/ to the repo root, repoint the seo-all lint gate + validator paths,
and update the stale 12 KiB-cap comment.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-14 20:16:53 -07:00

30 lines
946 B
YAML

name: SEO Skill Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
validate-seo-commands:
name: Validate seo-all slash commands
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Check for residual space-form /seo invocations
run: |
set -euo pipefail
# grep exits 1 when no matches, which is what we want.
if grep -REn --include='*.md' --include='*.json' --include='*.yaml' --include='*.yml' '/seo ' agent-skills/seo-all/; then
echo "::error::Found residual space-form '/seo ' invocations above."
exit 1
fi
echo "::notice::No residual space-form '/seo ' invocations found."
- name: Validate slash-command references and evals.json
run: python3 .gitea/scripts/validate_seo_commands.py