-
Notifications
You must be signed in to change notification settings - Fork 4
Description
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%):
importsincludesgh-aw-fragments/runtime-setup.mdon.workflow_call.inputsincludessetup-commandsstepsinclude a conditionalRepo-specific setupstep (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.mdimport (:4-10) - No
setup-commandsworkflow_call input (:18-43) - No
Repo-specific setupstep 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 setupstep usingeval "$SETUP_COMMANDS"
Suggested Actions
- Add
gh-aw-fragments/runtime-setup.mdtoimportsingh-aw-duplicate-issue-detector.md - Add the
setup-commandsworkflow_callinput ingh-aw-duplicate-issue-detector.md - Add the
Repo-specific setupstep guarded byif: $\{\{ inputs.setup-commands != '' }}ingh-aw-duplicate-issue-detector.md
Generated by Internal: Workflow Patrol · ◷
- expires on Mar 17, 2026, 3:12 PM UTC