Skip to content

ci: add OSV-Scanner SCA gate#25

Merged
zircote merged 1 commit into
mainfrom
ci/add-osv-scanner
Jul 1, 2026
Merged

ci: add OSV-Scanner SCA gate#25
zircote merged 1 commit into
mainfrom
ci/add-osv-scanner

Conversation

@zircote

@zircote zircote commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Wires reusable-sca-osv.yml (pinned at f83ee805) into ci.yml, matching the pattern already used in structured-madr, ontologies, and MIF. This closes the SCA coverage gap identified by the org-wide OSV-Scanner audit: this repository carries a package-lock.json but had no SCA gate.

Wires modeled-information-format/.github/.github/workflows/reusable-sca-osv.yml into ci.yml, matching the pattern already used in structured-madr/ontologies/MIF. Closes the SCA coverage gap flagged by the org-wide OSV-Scanner audit.
Copilot AI review requested due to automatic review settings July 1, 2026 16:35
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

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

Adds a supply-chain security (SCA) gate to this repository’s CI by wiring in the org’s centrally-maintained reusable-sca-osv.yml workflow (SHA-pinned), closing the gap where the repo has a package-lock.json but no OSV/dependency-review enforcement.

Changes:

  • Add a new sca job to CI that calls the org reusable OSV-Scanner + dependency-review workflow.
  • Configure the gate to fail the dependency-review check at high severity and above.
  • Grant the called workflow the required permissions (security-events: write, pull-requests: write, etc.) for SARIF upload and PR annotations.

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

@zircote zircote merged commit 797e125 into main Jul 1, 2026
13 checks passed
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.

3 participants