Skip to content

Reduce false action_required outcomes in closed-PR automation and Sighthound scan workflows#45684

Closed
pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/agent-perf-label-closed-prs
Closed

Reduce false action_required outcomes in closed-PR automation and Sighthound scan workflows#45684
pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/agent-perf-label-closed-prs

Conversation

Copilot AI commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Three workflows were intermittently/consistently ending in action_required because expected execution paths were gated off (copilot/* branch exclusions and conditional agent execution). This PR removes those blockers so intended post-close/update/triage logic can run deterministically.

  • Closed PR labeling: remove branch-based skip

    • Updated label-closed-prs.yml to stop excluding copilot/* branches.
    • Result: unmerged closed PRs are labeled regardless of author branch prefix.
  • PR description updater: allow Copilot-authored merged PRs

    • Updated pr-description-caveman.md to remove the copilot/* exclusion from the top-level merged-PR condition.
    • Recompiled lockfile to keep runtime YAML in sync.
  • Sighthound scan: always run triage stage

    • Updated sighthound-security-scan.md to remove the top-level if that only ran the agent when actionable findings were pre-detected.
    • Flow now allows the agent to emit noop on empty actionable sets instead of skipping the stage and surfacing action_required.
    • Recompiled lockfile to reflect the frontmatter/control-flow change.
# before
if: needs.sighthound_scan.outputs.actionable_findings_detected == 'true'

# after
# (condition removed at workflow top level; agent job decides noop vs issue)

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix label closed PRs and PR description updater workflows Reduce false action_required outcomes in closed-PR automation and Sighthound scan workflows Jul 15, 2026
Copilot AI requested a review from pelikhan July 15, 2026 08:54
@pelikhan pelikhan closed this Jul 15, 2026
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.

[agent-perf] Label Closed PRs + PR Description Updater + Sighthound Security Scan: 100% AR (Jul 14)

2 participants