mirror of
https://github.com/wiltodelta/remove-ai-watermarks.git
synced 2026-10-14 13:30:55 +02:00
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.
41 lines
1.0 KiB
YAML
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
|