Closed woodruffw closed 2 months ago
This uses the discriminated union pattern in Pydantic to give us slightly stronger "shape" guarantees. It adds GitHubPublisher and GitLabPublisher to get started, but we'll add more as more Trusted Publishers are supported for provenance purposes.
GitHubPublisher
GitLabPublisher
Merging so this can be iterated on in #36.
This uses the discriminated union pattern in Pydantic to give us slightly stronger "shape" guarantees. It adds
GitHubPublisher
andGitLabPublisher
to get started, but we'll add more as more Trusted Publishers are supported for provenance purposes.