Draft
Add Sighthound-gated agentic workflow with artifacted scan output#45120
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
Add agentic Sighthound security scan workflow
Add Sighthound-gated agentic workflow with artifacted scan output
Jul 12, 2026
Copilot created this pull request from a session on behalf of
pelikhan
July 12, 2026 18:47
View session
Contributor
|
Hey One thing that would help push this over the finish line:
If you would like a hand, you can assign this prompt to your coding agent:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds an agentic workflow that runs Corgea/Sighthound in a dedicated pre-agent job, persists scan output as an artifact, and only activates the agent when findings exist. The workflow keeps detection deterministic and triage conditional.
Workflow added
.github/workflows/sighthound-security-scan.md(and compiled.lock.yml).pull_request(opened,synchronize,reopened) andworkflow_dispatch.Separate Sighthound scan job
jobs.sighthound_scanto install and runsighthoundbefore agent execution.findings_detectedfindings_countartifact_nameArtifacted results for downstream analysis
/tmp/gh-aw/agent/sighthound/.sighthound-results-${{ github.run_id }}) for reproducible triage context.Agent execution is findings-gated
if:gates the agent path on:needs.sighthound_scan.outputs.findings_detected == 'true'add_commentcreate_issuenoop