Skip to content

Normalize report-format instructions for security scan workflows - #48013

Merged
pelikhan merged 2 commits into
mainfrom
copilot/workflow-style-normalize-report-formatting-f7869902-4a63-492f-9d61-0ea22c2b5b21
Jul 25, 2026
Merged

Normalize report-format instructions for security scan workflows#48013
pelikhan merged 2 commits into
mainfrom
copilot/workflow-style-normalize-report-formatting-f7869902-4a63-492f-9d61-0ea22c2b5b21

Conversation

Copilot AI commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Two scheduled reporting workflows were still missing explicit markdown style guidance for section hierarchy and progressive disclosure. This aligns their prompt instructions with the repo’s reporting conventions so generated issue bodies are easier to scan and less likely to regress.

  • Scope

    • Updates the report-writing prompts in:
      • .github/workflows/daily-squid-image-scan.md
      • .github/workflows/daily-vulnhunter-scan.md
  • Prompt format requirements

    • Require ###/#### section headings only
    • Require a visible top-level summary section
    • Require verbose per-finding detail to be wrapped in <details><summary>...</summary> blocks
  • Workflow artifact sync

    • Recompiled the corresponding .lock.yml files so generated workflow artifacts match the updated prompt bodies
  • Example of the added guidance

    ### Summary
    
    Brief overview of the highest-priority findings.
    
    <details>
    <summary>Vulnerability details</summary>
    
    #### Affected image
    - package, installed version, fixed version
    - severity, CVE, remediation
    
    </details>

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix report formatting issues for non-compliant workflows Normalize report-format instructions for security scan workflows Jul 25, 2026
Copilot AI requested a review from pelikhan July 25, 2026 13:58
@pelikhan
pelikhan marked this pull request as ready for review July 25, 2026 14:20
Copilot AI review requested due to automatic review settings July 25, 2026 14:20
@pelikhan
pelikhan merged commit be13f5a into main Jul 25, 2026
@pelikhan
pelikhan deleted the copilot/workflow-style-normalize-report-formatting-f7869902-4a63-492f-9d61-0ea22c2b5b21 branch July 25, 2026 14:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates security scan reporting prompts to enforce consistent heading hierarchy and progressive disclosure.

Changes:

  • Adds ###/#### heading guidance.
  • Requires visible summaries and collapsible finding details.
  • Synchronizes generated workflow hashes.
Show a summary per file
File Description
.github/workflows/daily-squid-image-scan.md Adds report-format requirements.
.github/workflows/daily-squid-image-scan.lock.yml Updates generated body hash.
.github/workflows/daily-vulnhunter-scan.md Adds report-format guidance; summary-section requirement needs clarification.
.github/workflows/daily-vulnhunter-scan.lock.yml Updates generated body hash.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 4/4 changed files
  • Comments generated: 1
  • Review effort level: Medium

Comment on lines +122 to +124
Structure the issue body with `###` and `####` headings only. Keep the summary
and highest-confidence findings visible, and wrap supporting evidence or
per-finding deep dives in `<details><summary>...</summary>` blocks.
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.83.4

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.

[workflow-style] Normalize report formatting for non-compliant workflows

3 participants