Skip to content

Conversation

@MichaelSimons
Copy link
Member

Fixes dotnet/source-build#4673.

Enabled the NuGet Audit functionality for the SBRP repo but disabled it for the reference and targeting packages given they contain no implementation. It is enabled for the generate tooling as well as the text only packages.

@MichaelSimons MichaelSimons requested a review from a team as a code owner February 4, 2025 16:58
@MichaelSimons MichaelSimons requested review from a team and ViktorHofer and removed request for a team February 4, 2025 16:58
Copy link
Member

@ViktorHofer ViktorHofer left a comment

Choose a reason for hiding this comment

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

LGTM. Consider also setting this so that local builds aren't blocked when there's a new advisory: https://github.com/dotnet/arcade/blob/5d30877b1eb318583acd5f2cd3f3a80e77b3add2/Directory.Build.props#L17-L18

@MichaelSimons
Copy link
Member Author

LGTM. Consider also setting this so that local builds aren't blocked when there's a new advisory: https://github.com/dotnet/arcade/blob/5d30877b1eb318583acd5f2cd3f3a80e77b3add2/Directory.Build.props#L17-L18

WarningsAsErrors was not enabled anywhere. It doesn't make sense to enable WarningsAsErrors for any of the ref packs but it does make sense for the generate tooling so I enabled it there.

@MichaelSimons MichaelSimons merged commit 47d3cd0 into dotnet:main Feb 4, 2025
4 checks passed
@MichaelSimons MichaelSimons deleted the nuget-audit branch February 4, 2025 20:03
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.

Enable NuGet Audit in source-build-reference-packages

3 participants