You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
create-issue: allow limiting title-deduplication searches with additional query qualifiers #73008
Could safe-outputs.create-issue offer an option to restrict the candidate search used by deduplicate-by-title, for example with additional GitHub search qualifiers such as label:documentation label:automated?
The configured issue labels currently control labels applied at creation, but do not narrow the title-deduplication search. A configurable search scope would let workflows avoid scanning unrelated repository issues without replacing the built-in safe-output handler.
In the observed run, deduplication did find a matching title and correctly skipped creation. The concern is the unnecessarily broad, truncated candidate search, which can miss matches outside the fetched pages—not the duplicate suppression itself.
Suggested behavior
Allow workflow authors to supply additional qualifiers for both the open and recently closed candidate searches. For this workflow, the resulting queries would be:
Both labels should be required (AND). The option could be an additional-query setting or a dedicated label filter; the name and configuration shape are open for discussion. Existing title matching, the recently closed window, and repository boundaries should remain intact, with current behavior preserved when the option is omitted.
on.skip-if-match would not be equivalent here: we still want each scheduled documentation check to run and potentially produce fixes, while narrowing only the fallback issue's deduplication search.
Activity