Skip to content

Adopts Central Package Management and Enables SBOM#3398

Merged
dansiegel merged 3 commits into
masterfrom
dev/ds/sbom
May 13, 2026
Merged

Adopts Central Package Management and Enables SBOM#3398
dansiegel merged 3 commits into
masterfrom
dev/ds/sbom

Conversation

@dansiegel

Copy link
Copy Markdown
Member

Description of Change

This change updates the project's build system to adopt Central Package Management (CPM) for global, build-time only dependencies. Existing PackageReference items for tools like Microsoft.NETFramework.ReferenceAssemblies, Nerdbank.GitVersioning, and Microsoft.SourceLink.GitHub are migrated to GlobalPackageReference, centralizing their version management in Directory.Packages.props.

Additionally, Software Bill of Material (SBOM) generation is enabled for all packable projects. This is achieved by incorporating the Microsoft.Sbom.Targets package and setting the GenerateSBOM property to true.

Bugs Fixed

  • None

API Changes

None

Behavioral Changes

Packable projects will now automatically generate an SBOM during the build process, which will be included in the build output. This is a change to the build system and does not affect the runtime behavior of applications.

PR Checklist

  • Has tests (No new tests are required as this change modifies build infrastructure.)
  • Rebased on top of master at time of PR
  • Changes adhere to coding standard

Migrates package references to `GlobalPackageReference` for centralized version management via `Directory.Packages.props`. This also enables Software Bill of Materials (SBOM) generation for packable projects, enhancing supply chain security.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 14ccbd5a63

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Directory.Build.props
dansiegel added 2 commits May 13, 2026 07:00
This update ensures that generated Software Bill of Materials (SBOMs) include detailed company and copyright information. It also explicitly sets the package version for SBOMs and enables fetching license information, improving accuracy and supply chain security.
Updates the condition for `ContinuousIntegrationBuild` to specifically check for `GITHUB_ACTIONS` or the generic `CI` environment variable. This ensures more reliable detection of continuous integration environments, particularly for GitHub Actions and other common CI hosts.
@dansiegel dansiegel merged commit ff632cd into master May 13, 2026
10 checks passed
@dansiegel dansiegel deleted the dev/ds/sbom branch May 13, 2026 13: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.

1 participant