pradumnasaraf/Agent PR Police
Detect, label, and summarize pull requests opened by AI coding agents like Copilot, Claude Code, Devin, and Cursor.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| label | Label applied to detected agent PRs. Also recognized as an agent marker if added manually. | no | pr-by-ai |
| add-label | Apply the label to detected agent PRs. | no | true |
| comment | Post and update a single sticky comment summarizing what the PR changed. | no | true |
| treat-all-prs-as-agent | Skip detection and treat every PR as agent-authored. | no | false |
| extra-agent-identifiers | Newline-separated substrings matched against the PR author login, branch name, and co-author trailers, for agents not in the built-in registry. | no | "" |
| mention | Handles to cc in the comment on agent PRs (space/comma/newline separated, e.g. "@alice @org/team"). The PR author is skipped. Needs comment enabled. | no | "" |
| request-reviewers | Users and teams to request a review from on agent PRs (e.g. "@alice @org/team"). The PR author is skipped. Failures (no access, etc.) are ignored, never fatal. | no | "" |
| github-token | Token used to read the PR, add the label, and post the comment. | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| is-agent-pr | Whether the PR was detected as authored by an AI coding agent. |
| agent | Name of the detected agent, empty if none was identified. |