Skip to content

feat(duplicate-issue-detector): add detect-related-issues input to make related issue detection optional#283

Merged
strawgate merged 3 commits intomainfrom
copilot/make-detecting-related-issues-optional
Feb 21, 2026
Merged

feat(duplicate-issue-detector): add detect-related-issues input to make related issue detection optional#283
strawgate merged 3 commits intomainfrom
copilot/make-detecting-related-issues-optional

Conversation

Copy link
Contributor

Copilot AI commented Feb 21, 2026

The duplicate issue detector always reported both exact duplicates and "highly related" issues. This adds an opt-out for the related issues detection, useful for repos that only want strict duplicate flagging.

Changes

  • New input detect-related-issues (string, default "true") on gh-aw-duplicate-issue-detector — set to "false" to suppress the "Highly related" section entirely
  • Prompt updated — Step 3 evaluation and Step 4 output format both gate on the injected input value; when disabled, only "Clear duplicate" and "Not related" categories are used
  • README updated — documents the new input

Usage

jobs:
  run:
    uses: elastic/ai-github-actions/.github/workflows/gh-aw-duplicate-issue-detector.lock.yml@v0
    with:
      detect-related-issues: "false"   # only report exact duplicates
    secrets:
      COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/ruby/setup-ruby/git/ref/tags/v1
    • Triggering command: /usr/bin/gh gh api /repos/ruby/setup-ruby/git/ref/tags/v1 --jq .object.sha ux-amd64/src/os/-p 0.1-go1.25.0.lingithub.com/charmbracelet/bubbles/textarea rg/toolchain@v0.-lang=go1.24 credential.helpe/usr/libexec/gcc/x86_64-linux-gnu/13/cc1 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/ruby/setup-ruby/git/ref/tags/v1 --jq .object.sha sonrpc2/conn.go sonrpc2/frame.go ux-amd64/pkg/tool/linux_amd64/compile (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Make detecting related issues optional</issue_title>
<issue_description>In the duplicate issue detector</issue_description>

Comments on the Issue (you are @copilot in this section)

@strawgate /ai make a plan

Custom agent used: default-agent
The default agent


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: strawgate <6384545+strawgate@users.noreply.github.com>
Copilot AI changed the title [WIP] Make detecting related issues optional in duplicate issue detector feat(duplicate-issue-detector): add detect-related-issues input to make related issue detection optional Feb 21, 2026
Copilot AI requested a review from strawgate February 21, 2026 02:48
@strawgate strawgate marked this pull request as ready for review February 21, 2026 02:58
@strawgate strawgate merged commit f9359ac into main Feb 21, 2026
16 of 17 checks passed
@strawgate strawgate deleted the copilot/make-detecting-related-issues-optional branch February 21, 2026 03:07
Copilot AI added a commit that referenced this pull request Feb 21, 2026
Brings all updates from main into this branch:
- Standardized workflow names/descriptions (#277)
- Docs restructure with Legacy section (#280)
- duplicate-issue-detector detect-related-issues input (#283)
- Improved Copilot agent thoroughness checks (#289)
- Label-based opt-out for update-pr-body trigger (#286)

Merges mkdocs.yml to keep both the Legacy section from main
and the new Text Beautifier entry from this branch.

Co-authored-by: strawgate <6384545+strawgate@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make detecting related issues optional

2 participants