Skip to content

Align Codecov and add security scanning - #1

Merged
stphnwlsh merged 4 commits into
mainfrom
chore/codecov-and-security
Oct 26, 2026
Merged

stphnwlsh merged 4 commits into
mainfrom
chore/codecov-and-security

Conversation

@stphnwlsh

@stphnwlsh stphnwlsh commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Summary

  • codecov.yml now enforces 95% project and patch coverage, the same in every Clean repo. The upload uses codecov-action@v7.
  • Dependabot replaces the monthly dotnet-outdated workflow. It runs monthly and puts NuGet and GitHub Actions updates into one grouped PR.
  • CodeQL moves to its own workflow on v4. It uses build-mode: none, so there's no more autobuild, plus security-and-quality queries and a weekly run.
  • The built Docker image is scanned with Trivy (critical and high, fixable only), and the results go to code scanning.
  • Added an OpenSSF Scorecard workflow and a README badge.
  • Added SECURITY.md, which points to private vulnerability reporting.
  • Fixed global.json: 10.0.1 isn't a valid SDK version, so it's now 10.0.100. Also matched the Program.cs case in the coverage exclusion.

- Shared codecov.yml enforcing 95% project and patch coverage; codecov-action v7
- Replace the monthly dotnet-outdated workflow with Dependabot (monthly, one grouped PR for NuGet and GitHub Actions)
- Move CodeQL to its own workflow on v4 with build-mode none, security-and-quality queries and a weekly run
- Scan the built Docker image with Trivy and upload results to code scanning
- Add OpenSSF Scorecard workflow and badge
- Add SECURITY.md pointing to private vulnerability reporting
@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.

@stphnwlsh stphnwlsh self-assigned this Oct 26, 2026
@codecov

codecov Bot commented Oct 26, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

Comment thread .github/workflows/scorecard.yml Fixed
@stphnwlsh
stphnwlsh merged commit 9dc37c0 into main Oct 26, 2026
9 checks passed
@stphnwlsh
stphnwlsh deleted the chore/codecov-and-security branch October 26, 2026 22:31
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.

2 participants