Skip to content

docs: pin the README's examples to v2 - #7

Merged
Ostico merged 1 commit into
mainfrom
docs/readme-pins-v2
Aug 12, 2026
Merged

docs: pin the README's examples to v2#7
Ostico merged 1 commit into
mainfrom
docs/readme-pins-v2

Conversation

@Ostico

@Ostico Ostico commented Aug 12, 2026

Copy link
Copy Markdown
Owner

Every uses: snippet in the README said ostico/test-guard@v1, so anyone copying one landed on the previous major — including the quickstart. Seven occurrences, now @v2.

They were all copy-paste usage examples. None were before-and-after migration snippets, so nothing here should stay on v1.

The surrounding prose is already v2-aware: it explains that GitHub Models was retired on 2026-07-30 and that Layer 3 now needs a provider API key. The snippets were the only thing left pointing at the old major.

The quickstart still works as written. A bare @v2 with no ai-api-key does not fail — config.py warns that Layer 3 is disabled and falls back to Layers 1 and 2 — so the two-line snippet stays a two-line snippet rather than growing a key and a secret.

Documentation only; no source or test changes.

Every `uses:` snippet still said `@v1`, so anyone copying one landed on the previous
major. v2.0.0 was a breaking change — GitHub Models was retired on 2026-07-30 and
Layer 3 needs a provider API key — and the surrounding prose already explains that,
which made the snippets the only thing still pointing at v1.

Seven occurrences, all of them copy-paste usage examples rather than before-and-after
migration snippets, so there is nothing here that should stay on v1.

A bare `@v2` with no `ai-api-key` does not fail: config warns that Layer 3 is disabled
and falls back to Layers 1 and 2. So the quickstart stays a two-line snippet and keeps
working as written.
@github-actions

Copy link
Copy Markdown

🧪 Test-Guard Report

✅ PASS — All changed source files have adequate test coverage.

Coverage Analysis: ⏭️ SKIP

No source files to analyze — all changed files are tests or excluded.

Test File Matching: ✅ PASS

No source files to check

Per-File Evaluation: ✅ PASS

No source files to evaluate.

Result: ✅ PASS

@Ostico
Ostico marked this pull request as ready for review August 12, 2026 19:32
@Ostico
Ostico merged commit 309dd52 into main Aug 12, 2026
3 checks passed
@Ostico
Ostico deleted the docs/readme-pins-v2 branch August 12, 2026 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant