Repository navigation
chore: prepare the repository for public contributors - #8
Merged
Merged
Conversation
Release with Cocogitto from a manual run of the release workflow: it bumps the workspace version, writes CHANGELOG.md, tags the commit, and builds and publishes that tag. Pull requests check Conventional Commits. Add SECURITY.md, CONTRIBUTING.md, and issue templates, and remove the original product brief. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Why
Prepare the public repository for outside users and contributors: a way to
make releases, a private channel for security reports, and contributor docs.
What changes
Releases move from a hand-pushed tag to a manual run of Release binaries
that uses Cocogitto.
flowchart LR subgraph Before A[Edit version by hand] --> B[Push v* tag] --> C[build] --> D[assemble] --> E[publish] end subgraph After R[Run workflow on main<br/>version: empty or X.Y.Z] --> V[version: cog bump<br/>Cargo.toml + Cargo.lock + CHANGELOG.md<br/>push commit + tag] --> C2[build tag] --> D2[assemble] --> E2[publish] --> H[homebrew] P[pull request] --> K[commits: cog check] & C3[build PR head] end classDef changed fill:#fde68a,stroke:#b45309 class R,V,K changedcog.toml:fixgives a patch,feata minor, and!orBREAKING CHANGE:a major. Only onmain.GITHUB_TOKENdo not start workflows, so the build runs in the same workflow. With no public tag yet, the first run needs an explicit version (--autowould give 0.1.0).SECURITY.md(GitHub private vulnerability reporting),CONTRIBUTING.md, issue templates, the removal ofbrief.md, and a fix to the stale "new workflow" lines in the README and installation guide.tudorandrei.xyz.Look at:
.github/workflows/release.yml.buildandassembleuse!failure() && !cancelled()so pull requests still build whenversionis skipped.Evidence
cog check(cog 6.5.0, the version the action installs): no errored commits in the whole history.cog bump --version 0.3.1in a temporary clone with a local bare remote madechore(version): v0.3.1, set the version inCargo.tomland in all threeCargo.lockentries, wroteCHANGELOG.md, and pushedmainandv0.3.1.actionlintwith shellcheck: clean.zizmor --offline: one medium finding, the same one as onmain(the Homebrew tap checkout with a deploy key).commitsjob and the PR build.Merge danger
Door: two-way
Blast radius: releases
A failed release run after the
versionjob leaves a pushed tag and version commit.packaging/README.mdsays how to recover. Nodes, the hub, and the relay are unchanged.After merge
mainwith version0.3.0(or0.4.0) for the first release.🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.