You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 75331a1
Browse filesBrowse the repository at this point in the historyBrowse files
docs: --ai-attribution-only and pins for v2.20.2 (#78)
## Why
commit-check 2.20.2 is out: it renames `--ai-only` to
`--ai-attribution-only` (commit-check#677), with the old name kept as a
hidden alias. The site still shows `--ai-only` and pins v2.20.1.
## What changes
- `guides/policies.md` "Checking a pull request description": both
examples use `--ai-attribution-only`.
- `changelog.md`: a v2.20.2 entry for the rename; the 2.20.1 Highlights
row uses the new name and notes the old one.
- Pre-commit `rev:` pins to v2.20.2 (configuration, example,
compare/tools, guides/pre-commit).
## Before and after
| | Before | After |
|---|---|---|
| Policies guide example | `gh pr view 42 ... \| commit-check --ai-only`
| `gh pr view 42 ... \| commit-check --ai-attribution-only` |
| Pre-commit pins | `rev: v2.20.1` | `rev: v2.20.2` |
| Changelog | latest v2.20.1 | v2.20.2 entry for the rename |
## Checks
- `pytest tests` with commit-check 2.20.2 installed: 18 passed (pins
match PyPI).
- `mkdocs build --strict`: clean.
Co-authored-by: Xianpeng Shen <3353385+shenxianpeng@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/changelog.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ below and to the page that documents the feature properly.
11
11
12
12
| Version | What changed | Documented in |
13
13
|---|---|---|
14
-
|[2.20.1](#v2201)|`--ai-only` checks a pull request description against the AI rules; JSON reports `ai_tools`; Warp, Crush, credit trailers and agent run links recognised |[Checking a pull request description](guides/policies.md#checking-a-pull-request-description) · [CC013](rules.md#cc013)|
14
+
|[2.20.1](#v2201)|`--ai-attribution-only` (named `--ai-only` in 2.20.1) checks a pull request description against the AI rules; JSON reports `ai_tools`; Warp, Crush, credit trailers and agent run links recognised |[Checking a pull request description](guides/policies.md#checking-a-pull-request-description) · [CC013](rules.md#cc013)|
15
15
|[2.20.0](#v2200)| A commit authored by an AI tool rejected (CC017); Continue, Mistral Vibe and Qwen Code recognised; subject length `0` turns the rule off; Python 3.10 dropped |[CC017](rules.md#cc017) · [CC013](rules.md#cc013) · [CC004](rules.md#cc004)|
16
16
|[2.19.5](#v2195)| GitHub merge queue branches accepted by default; aider's default co-author trailer recognised; exit 2 when git cannot read the repository |[CC201](rules.md#cc201) · [CC013](rules.md#cc013) · [Exit codes](troubleshoot.md#exit-codes)|
0 commit comments