Skip to content

fix: generate detailed JSON report in nightly scan - #46

Merged
Mani Bindra (maniSbindra) merged 1 commit into
mainfrom
add-nightly-detailed-report
May 27, 2026
Merged

fix: generate detailed JSON report in nightly scan#46
Mani Bindra (maniSbindra) merged 1 commit into
mainfrom
add-nightly-detailed-report

Conversation

@maniSbindra

Copy link
Copy Markdown
Member

Summary

Add the --detailed flag to the nightly scan workflow so docs/daily_recommendations_detail.json is generated alongside the existing markdown and JSON reports.

Changes

  • .github/workflows/nightly-scan.yml — add --detailed to the sbi scan invocation
  • .github/nightly-allowed-files.sh — add docs/daily_recommendations_detail.json to the nightly output allowlist so the commit validation accepts the new artifact

Context

The CLI already supports --detailed and locally produces the report correctly. The nightly workflow simply wasn't passing the flag, and the allowlist would have rejected the file as unexpected output.

Fixes #45

Add the detailed report flag to the nightly scan and allow the generated detail JSON artifact through the nightly output validation.

Fixes #45

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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the nightly scan automation to produce the detailed per-image JSON report and allow it as an expected nightly output artifact.

Changes:

  • Adds --detailed to the nightly sbi scan invocation.
  • Adds docs/daily_recommendations_detail.json to the nightly output allowlist.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/nightly-scan.yml Enables detailed JSON report generation during the nightly scan.
.github/nightly-allowed-files.sh Adds the detailed JSON report to the files accepted by nightly commit validation.

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

Comment thread .github/nightly-allowed-files.sh
@maniSbindra
Mani Bindra (maniSbindra) merged commit cabaf2b into main May 27, 2026
14 checks passed
@maniSbindra
Mani Bindra (maniSbindra) deleted the add-nightly-detailed-report branch May 27, 2026 16:18
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.

Add detailed JSON report to nightly scan output

2 participants