Skip to content

Migrate to publish-to-bcr Actions workflow - #71

Merged
ewianda merged 1 commit into
mainfrom
chore/migrate-publish-to-bcr-actions
Sep 7, 2026
Merged

Migrate to publish-to-bcr Actions workflow#71
ewianda merged 1 commit into
mainfrom
chore/migrate-publish-to-bcr-actions

Conversation

@ewianda

@ewianda ewianda commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a new GitHub Actions workflow that uses the bazel-contrib/publish-to-bcr reusable workflow to publish releases to the Bazel Central Registry
  • Replaces the deprecated publish-to-bcr GitHub App
  • Triggered automatically on release publish, or manually via workflow_dispatch

Closes #70

Setup required

  1. Create a Classic PAT with workflow and repo permissions
  2. Add it as a repository secret named BCR_PUBLISH_TOKEN (Settings > Secrets and variables > Actions)
  3. Uninstall the deprecated publish-to-bcr GitHub App from the repo

Test plan

  • Add BCR_PUBLISH_TOKEN secret
  • Use workflow_dispatch to test against an existing release tag
  • Verify a PR is opened on bazelbuild/bazel-central-registry

🤖 Generated with Claude Code

Migrate from the deprecated publish-to-bcr GitHub App to the
reusable Actions workflow. Closes #70.

Requires a BCR_PUBLISH_TOKEN repository secret (Classic PAT with
workflow + repo scopes).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ewianda
ewianda merged commit c202565 into main Sep 7, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Migrate to Publish to BCR actions workflow

1 participant