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 1c814c8
Browse filesBrowse the repository at this point in the historyBrowse files
| `pr-title` | `false` | Check the pull request title against Conventional Commits — the one that matters for squash merges. Pull request events only |
83
83
| `message-ai-attribution` | `false` | Check every commit against the AI rules of `cchk.toml` (`ai_attribution`) only, author included, without the format rules. Takes the place of `message` |
84
-
| `pr-body-ai-attribution` | `false` | Check the pull request description against the AI rules of `cchk.toml` (`ai_attribution`) only. Pull request events only |
84
+
| `pr-body-ai-attribution` | `false` | Check the pull request description against the AI rules of `cchk.toml` (`ai_attribution`, and the AI declaration boxes of `[pull_request] ai_declaration_checkboxes`) only. Pull request events only |
85
85
| `ai-label` | `false` | Label the pull request when an AI tool wrote any of it (a commit, the description, or an agent's app that opened it): `true`for `ai-assisted`, or the label's name. Labels are only added, never removed. Needs `pull-requests: write`; skipped on fork pull requests under `pull_request` |
86
86
| `pr-comments` | `false` | Post the report as a pull request comment, edited in place on later runs. Needs `pull-requests: write`; skipped on fork pull requests |
87
87
| `job-summary` | `true` | Write the report to the job summary |
@@ -212,6 +212,20 @@ the line to remove:
212
212
> - Co-Authored-By: Claude <noreply@anthropic.com>
213
213
> ```
214
214
215
+
If your pull request template asks the author to tick "No AI tools were used"
216
+
or "AI tools were used", name those boxes and the description must tick exactly
217
+
one of them (CC501). An empty description fails too:
218
+
219
+
```toml
220
+
[pull_request]
221
+
ai_declaration_checkboxes = ["No AI tools were used", "AI tools were used"]
222
+
```
223
+
224
+
> ```diff
225
+
> @@ PR description @@
226
+
> # Tick the box that applies: "No AI tools were used" or "AI tools were used"
227
+
> ```
228
+
215
229
With `ai-label: true`, a pull request an AI tool wrote also gets the
0 commit comments