Skip to content

Commit b2c9e2c

Browse files
docs: say an ignore run is a skip only without declaration checkboxes
With [pull_request] ai_declaration_checkboxes set, --ai-attribution-only runs CC501 under the default ignore policy too, so the status is pass or fail, not skip.
1 parent 46a1278 commit b2c9e2c

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,10 @@ their known signatures in the message (and by a commit's author), under any
208208
for text that is not a commit message, such as a pull request description.
209209
With `[pull_request] ai_declaration_checkboxes` set, it also checks that the
210210
description ticks exactly one of those boxes (CC501).
211-
Under the default `ai_attribution = "ignore"` no AI rule runs, so the status
212-
is `skip` and only `ai_tools` reports what was found; set `forbid` or `disclose`
213-
to enforce a policy:
211+
Under the default `ai_attribution = "ignore"` no AI rule runs. Without
212+
`ai_declaration_checkboxes` no check runs at all, so the status is `skip` and
213+
only `ai_tools` reports what was found; set `forbid` or `disclose` to enforce
214+
a policy:
214215

215216
```bash
216217
commit-check --ai-attribution-only --format json < pr-description.md

0 commit comments

Comments
 (0)