jondolf/AI Commit Check
Detect AI-authored commits or AI metadata trailers in a commit range.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| base-sha | Start of the commit range (exclusive). Defaults to the pull request base SHA, or the "before" SHA on push. | no | "" |
| head-sha | End of the commit range (inclusive). Defaults to the pull request head SHA, or the "after" SHA on push. | no | "" |
| base-ref | Base branch name to fetch so the range is reachable. Defaults to the pull request base ref. | no | "" |
| fail-on-detection | When "true", exit non-zero if any AI-authored commits are detected. Set to "false" to only report via outputs. | no | true |
| pattern | Override the regular expression used to flag AI metadata. When empty, a built-in pattern is used. | no | "" |
Outputs
| name | description |
|---|---|
| ai-commits-found | "true" if any AI-authored commits were detected, otherwise "false". |
| count | Number of commits flagged as AI-authored. |
| commits | Newline-separated list of flagged commit SHAs. |