docs: document include_comments_by_actor and exclude_comments_by_actor#990
Open
yoheidemachi wants to merge 3 commits intoanthropics:mainfrom
Open
docs: document include_comments_by_actor and exclude_comments_by_actor#990yoheidemachi wants to merge 3 commits intoanthropics:mainfrom
yoheidemachi wants to merge 3 commits intoanthropics:mainfrom
Conversation
Add both parameters to the Inputs table in usage.md with descriptions, defaults, and wildcard support. Add a Comment Filtering section with examples for common use cases. Mention comment filtering in the Prompt Injection Risks section of security.md as an additional mitigation for public repositories. Closes anthropics#972 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Rename "Include all bots except a specific one" to "Exclude a specific bot" since the example only excludes renovate[bot] from the default (include-all) behavior. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #972
include_comments_by_actorandexclude_comments_by_actorto the inputs table indocs/usage.mdwith descriptions, defaults, and wildcard supportdocs/usage.mdwith precedence rules and three practical examples (exclude bots, allowlist users, exclude specific bot)docs/security.md, referencinginclude_comments_by_actoras a mitigation for public reposTest plan
security.mdandusage.md#comment-filteringresolve correctlyaction.ymldefinitionssrc/github/utils/actor-filter.tsimplementation🤖 Generated with Claude Code