Problem
include_comments_by_actor and exclude_comments_by_actor are defined in action.yml but missing from docs/usage.md, the primary configuration reference.
These parameters control which comment authors are included in Claude's prompt context. They're useful for:
- Scoping input on public repos:
include_comments_by_actor lets maintainers allowlist which users' comments are passed to Claude.
- Reducing noise:
exclude_comments_by_actor filters out bot comments (dependabot, renovate, CI) to save tokens and keep Claude focused.
Separately, docs/security.md has a "Prompt Injection Risks" section that covers hidden markdown in untrusted content, but doesn't mention comment filtering as an additional mitigation. Referencing include_comments_by_actor there would help users configuring the action for public repos.
Implemented in #812, tracked in #845, but neither doc was updated.
What's missing
- Both parameters in the Inputs table with descriptions, defaults, and wildcard support
- The precedence rule (exclusion wins when an actor matches both lists)
- An example showing the allowlist and/or bot-exclusion use case
- Mention comment filtering alongside the existing hidden-markdown guidance
- Reference
include_comments_by_actor as an option for public repos
Related
Problem
include_comments_by_actorandexclude_comments_by_actorare defined in action.yml but missing from docs/usage.md, the primary configuration reference.These parameters control which comment authors are included in Claude's prompt context. They're useful for:
include_comments_by_actorlets maintainers allowlist which users' comments are passed to Claude.exclude_comments_by_actorfilters out bot comments (dependabot, renovate, CI) to save tokens and keep Claude focused.Separately, docs/security.md has a "Prompt Injection Risks" section that covers hidden markdown in untrusted content, but doesn't mention comment filtering as an additional mitigation. Referencing
include_comments_by_actorthere would help users configuring the action for public repos.Implemented in #812, tracked in #845, but neither doc was updated.
What's missing
docs/usage.md
docs/security.md
include_comments_by_actoras an option for public reposRelated