Skip to content

[workflow-patrol] Workflow drift detected: duplicate-issue-detector missing runtime-setup wiring #655

@github-actions

Description

@github-actions

Findings

1. gh-aw-duplicate-issue-detector.md is missing the standard runtime setup structure

Which workflow deviates

  • .github/workflows/gh-aw-duplicate-issue-detector.md

Majority pattern
Across workflow sources, the same three elements appear together in 55/56 workflows (98.2%):

  1. imports includes gh-aw-fragments/runtime-setup.md
  2. on.workflow_call.inputs includes setup-commands
  3. steps include a conditional Repo-specific setup step (if: $\{\{ inputs.setup-commands != '' }})

Examples that follow this pattern:

  • .github/workflows/gh-aw-breaking-change-detector.md:7,34-38,83-89
  • .github/workflows/gh-aw-bug-hunter.md:7,34-38,84-90
  • .github/workflows/gh-aw-test-coverage-detector.md:7,34-38,100-106

What is different in the outlier
In .github/workflows/gh-aw-duplicate-issue-detector.md:

  • No runtime-setup.md import (:4-10)
  • No setup-commands workflow_call input (:18-43)
  • No Repo-specific setup step before task execution (:67-90)

Why this looks like drift (not intentional)
The workflow still follows other shared structure (e.g., shared fragments, additional-instructions, allowed-bot-users, messages-footer, safe outputs), so only the runtime-setup trio being absent is likely accidental divergence from the common template.

Duplicate check
Open [workflow-patrol] issues currently track other drifts (#567, #574, #631, #559), not this one.
/tmp/previous-findings.json is empty for this agent run.

Suggested fix

Add the standard runtime-setup wiring to .github/workflows/gh-aw-duplicate-issue-detector.md:

  • import gh-aw-fragments/runtime-setup.md
  • add on.workflow_call.inputs.setup-commands
  • add the conditional Repo-specific setup step using eval "$SETUP_COMMANDS"

Suggested Actions

  • Add gh-aw-fragments/runtime-setup.md to imports in gh-aw-duplicate-issue-detector.md
  • Add the setup-commands workflow_call input in gh-aw-duplicate-issue-detector.md
  • Add the Repo-specific setup step guarded by if: $\{\{ inputs.setup-commands != '' }} in gh-aw-duplicate-issue-detector.md

Generated by Internal: Workflow Patrol ·

  • expires on Mar 17, 2026, 3:12 PM UTC

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions