Skip to content

Conversation

Copy link

Copilot AI commented Dec 7, 2025

Changes

Implements automated publishing to the Bazel Central Registry following the pattern established in opentelemetry-proto.

BCR Configuration (.bcr/)

  • metadata.template.json: Module metadata with current BCR maintainer (Keith Smiley) and recent release publisher (Marc Alff)
  • presubmit.yml: Test matrix across debian10, macos, ubuntu2004, windows on Bazel 7.x, 8.x, 9.*
  • source.template.json: Archive URL template with placeholder substitution
  • README.md: Publishing workflow documentation, PAT setup, fork registry recommendations

Workflow

.github/workflows/publish-to-bcr.yml triggers on release publication or manual dispatch, using bazel-contrib/[email protected] to submit entries to the official registry.

Documentation

README.md updated with BCR section:

bazel_dep(name = "opentelemetry-cpp", version = "x.y.z")

For significant contributions please make sure you have completed the following items:

  • CHANGELOG.md updated for non-trivial changes
  • Unit tests have been added
  • Changes in public API reviewed
Original prompt

With the same logic in open-telemetry/opentelemetry-proto@21697ec please provide BCR github workflow, config and README. See https://github.com/bazelbuild/bazel-central-registry/tree/main/modules/opentelemetry-cpp for reference configuration.
Concerning maintainers you can use the current in BCR and add publishers of the 10 previous tags of https://github.com/open-telemetry/opentelemetry-cpp as this is for the source project. You can recommend the use of a fork registry but the one actually configure must be the official https://github.com/bazelbuild/bazel-central-registry


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@mmorel-35 mmorel-35 marked this pull request as ready for review December 7, 2025 07:48
Copilot AI changed the title [WIP] Add BCR GitHub workflow and configuration Add BCR GitHub workflow and configuration Dec 7, 2025
Copilot AI requested a review from mmorel-35 December 7, 2025 07:52
@mmorel-35 mmorel-35 merged commit c176a47 into bcr Dec 7, 2025
@mmorel-35 mmorel-35 deleted the copilot/add-bcr-github-workflow branch December 7, 2025 07:52
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