Files
remove-ai-watermarks/.github/workflows/skill.yml
T
Victor Kuznetsov f0b425ac71 Add skill packaging invariants and a path-filtered skill workflow
Three invariants the deterministic suite did not pin: the version
triple (SKILL.md, plugin.json, marketplace.json), the 500-line SKILL.md
budget, and probe.py MIN_CLI_VERSION never exceeding the package
version. skill.yml gives skill-only changes a seconds-fast gate on top
of the full Tests workflow.
2026-09-06 12:39:22 -07:00

41 lines
1.0 KiB
YAML

name: Skill
# Fast path-filtered gate for agent-skill packaging changes. The full
# Tests workflow still runs on the same pushes; this answers skill-only
# pull requests in seconds by running just the deterministic skill suites.
on:
push:
branches: [main]
paths:
- "skills/**"
- ".claude-plugin/**"
- "docs/agent-skill.md"
- "tests/test_agent_skill.py"
- "tests/test_skill_evals.py"
pull_request:
paths:
- "skills/**"
- ".claude-plugin/**"
- "docs/agent-skill.md"
- "tests/test_agent_skill.py"
- "tests/test_skill_evals.py"
permissions:
contents: read
concurrency:
group: skill-${{ github.ref }}
cancel-in-progress: true
jobs:
skill:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
- name: Sync dev environment
run: uv sync --frozen --extra dev
- name: Agent skill packaging tests
run: uv run pytest tests/test_agent_skill.py tests/test_skill_evals.py -q