Add workflow run link to external plugin intake comments (#1915)

* Add workflow run link to external plugin intake comments

- Include a link to the GitHub Actions workflow run in intake comment
- Helps users trace which action run generated the intake report
- Works for both initial intake and re-run intake flows
- Link appears at bottom of comment for all intake states (passed/failed/quality gates)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Address PR review feedback on intake comment formatting

- Remove leading spaces from runLink construction to preserve markdown formatting
- Remove unnecessary newline prefix before runLink in quality gates section
- Move workflow run link to the very end of all comment types (after warnings)
- For merged intake comments, append link as final element
- Remove unused runId parameter from applyExternalPluginIntakeEvaluation

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Aaron Powell
2026-06-04 12:30:39 -07:00
committed by GitHub
parent 36cdc52037
commit d11fb21f3a
3 changed files with 22 additions and 10 deletions
@@ -102,7 +102,10 @@ jobs:
const baseResult = await intake.evaluateExternalPluginIssue({
issue: currentIssue,
token: process.env.GITHUB_TOKEN
token: process.env.GITHUB_TOKEN,
runId: context.runId,
owner: context.repo.owner,
repo: context.repo.repo
});
core.setOutput('should-run', 'true');
@@ -173,7 +176,7 @@ jobs:
};
}
finalResult = intake.applyQualityGateResult(baseResult, qualityResult);
finalResult = intake.applyQualityGateResult(baseResult, qualityResult, context.runId, context.repo.owner, context.repo.repo);
}
await intakeState.applyExternalPluginIntakeEvaluation({