meawoppl/Stop AI Attribution
Fails a pull request when its title, body, branch name, or commit messages contain AI-attribution strings (Claude / Copilot / ChatGPT / Cursor / Gemini / Codex / "co-authored-by" / "generated with" patterns). Reusable across repos so the attribution policy lives in one place.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| rejection-message | Message shown when AI attribution is detected. Printed after the GitHub error annotation so consuming repos can explain their policy or point to docs. | no | This repository does not include AI attribution in PRs. |
| extra-patterns | Newline-separated list of additional regex alternatives to match. Each non-empty line is OR'd onto the built-in pattern (case-insensitive, extended regex). Lets a consuming repo add org-specific bot accounts or product names without replacing the shared default. | no | "" |
| comment-on-failure | When true, post the rejection-message as a sticky PR comment in addition to failing the check. Requires the workflow's GITHUB_TOKEN to have `pull-requests: write` permission. | no | false |
Outputs
no outputs