feat: add trusted publishing release pipeline - #29
Merged
Conversation
Add tag-on-merge.yml workflow that fires on push to main when the commit message starts with "release v". It tags the release, publishes to npm via OIDC trusted publishing (with provenance attestations), and creates the GitHub release — all in one workflow. No npm tokens or PATs stored in GitHub secrets. Rewrite the release skill to the PR-based model: agent opens a release PR from the BoldBlackBot fork, maintainer squash-merges it, CI handles the rest. The agent never touches npm credentials, tags, or GitHub releases. Also migrates the skill from jj to git. Co-Authored-By: Julio Capote <6135+capotej@users.noreply.github.com>
capotej
approved these changes
Aug 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a fully automated release pipeline using npm OIDC trusted publishing, following the same design as the harness repo (
projects:harness:design:release-pipelineon the corkboard).What changes
tag-on-merge.yml: fires on push tomainwhen the commit message starts withrelease v. Tags the release, publishes to npm via OIDC trusted publishing (with provenance attestations), and creates the GitHub release — all in one workflow. No npm tokens or PATs stored in GitHub secrets.npm publishwith OTP, pushes tags, creates releases) to the PR-based model (agent opens a release PR from the BoldBlackBot fork, maintainer squash-merges, CI handles the rest). Also migrates the skill from jj to git.Trust model
One-time setup (manual, after merge)
Configure the trusted publisher on npmjs.com for
@boldblackai/create-bclawunder Settings → Trusted Publisher → GitHub Actions: org=boldblackai, repo=create-bclaw, workflow filename=tag-on-merge.yml.Test Plan
actionlintpasses on the new workflowpnpm lintpassespnpm format:checkpassespnpm exec tsc --noEmitpassespnpm test(17 golden tests) passes