Org-default repo for hop-top. Hosts the publish/mirror layer of the release pipeline: the workflows that run after release-please cuts a tag.
This repo is:
- Reusable GitHub Actions workflows that publish to npm / PyPI / crates.io, notify Packagist, and push subtree splits to read-only mirror repos
- Triggered by
<component>/v<version>tag pushes - PR-time spec-versioning gates for repos with a spec tree —
per-version commit rules, channel-derived
**Status:**lines on release PRs, a guard over release-version literals and<root>/vX.Ypaths (spec-commit-rules,spec-status-line,version-check; seereferences/how-to/spec-versioning.md) - The shared release-please runner (
release-please-on-push): one guarded, App-token job every repo calls instead of hand-rolling its own — it runs release-please, it does not replace it - An opt-in release-please extension, target versioning
(
scripts/release-please-target): a versioning strategy and two plugins for release-please, run byrelease-please-on-pushwithversioning-extension: true(seereferences/how-to/target-versioning.md) - Org-level community files (CODE_OF_CONDUCT, SECURITY, CONTRIBUTING, issue forms, PR template)
- Profile rendered at https://github.com/hop-top
This repo is not:
- A version manager — release-please does that
- A changelog generator — release-please does that
- A release-PR opener — release-please does that
- A replacement for release-please
The split: release-please owns "from commit to tag"; dotgithub owns "from tag to published package". They compose; you need both.
See SKILL.md — quick-start, secrets reference, common
pitfalls.
See DEVELOPING.md — local setup, authoring rules,
how to add a new ecosystem, how this repo self-releases.
flowchart TB
Dev([Developer])
Commits[Conventional commits on main]
Dev --> Commits
subgraph ReleasePleaseScope ["Consumer-side (release-please)"]
direction TB
RP[release-please.yml<br/>opens standing PR]
PR[chore release kit-ts X.Y.Z-alpha.N<br/>PR open on main]
Merge[Merge PR]
Tag[release-please creates tag<br/>kit-ts/vX.Y.Z-alpha.N]
RP --> PR --> Merge --> Tag
end
Commits --> RP
Push((git push --tags))
Tag --> Push
subgraph DotGithubScope ["dotgithub (this repo)"]
direction TB
Router[publish-on-tag.yml<br/>parses tag prefix]
Router -->|ecosystem ts| PubTS[publish-ts.yml]
Router -->|ecosystem py| PubPY[publish-py.yml]
Router -->|ecosystem rs| PubRS[publish-rs.yml]
Router --> Mirror[mirror-subtree.yml]
Mirror -->|ecosystem php| PubPHP[publish-php job<br/>notifies Packagist]
end
Push --> Router
PubTS --> NPM[(npm)]
PubPY --> PyPI[(PyPI)]
PubRS --> Crates[(crates.io)]
Mirror --> MirrorRepo[(read-only mirror repo)]
PubPHP --> Packagist[(Packagist)]
See docs/architecture.md for full diagrams
(router dispatch, secret flow).
.github/
workflows/
publish-on-tag.yml reusable: router (parses tag → dispatches)
publish-ts.yml reusable: npm publish
publish-py.yml reusable: PyPI publish (OIDC)
publish-rs.yml reusable: crates.io publish
mirror-subtree.yml reusable: subtree split + mirror push
goreleaser-on-tag.yml reusable: GoReleaser on a tag (prefixed or plain); uploads to the real tag
release-tag-on-merge.yml reusable: tag + label flip for repos that skip GitHub Releases
spec-commit-rules.yml reusable: per-spec-version commit isolation (PRs)
spec-status-line.yml reusable: channel-derived status lines (release PRs)
version-check.yml reusable: release-version literal + spec-path guard
release-please-on-push.yml reusable: release-please run (App token, concurrency guard)
release-please-preflight.yml reusable: config-shape checks at PR time
verify-lockfile.yml reusable: fails when actions.lock is stale (PRs)
ci-gate.yml reusable: one required check summing a workflow's jobs
ci.yml self-CI: actionlint + every test target + lockfile check
release-please.yml self-release: opens release PRs
roll-major-tag.yml self-release: moves vMAJOR on each stable vX.Y.Z tag
actions/
well-known-publisher/ composite action, experimental: YAML config → /.well-known/* files
actionlint.yaml actionlint suppressions (removal condition in DEVELOPING.md)
CODEOWNERS
release-please-config.json self-release config
.release-please-manifest.json
ISSUE_TEMPLATE/ org-default issue forms (bug, feature)
PULL_REQUEST_TEMPLATE.md org-default PR template
CODE_OF_CONDUCT.md, CONTRIBUTING.md, SECURITY.md org-default community files
templates/dependabot.yml Dependabot policy template (one PR, 14d cooldown, security groups)
docs/
architecture.md full pipeline diagrams + design rationale
bootstrap-checklist.md first-time setup, in order
failure-modes.md symptom → cause → fix, extended
browser-playbooks.md web-side setup walkthroughs (PyPI, Packagist, ...)
binaries/ installable binaries per language (GoReleaser)
adr/ architecture decision records
generated-docs.md generated doc regions + staleness gate
release-schedule.md generated: lanes, channels, cadence
diagrams/ Mermaid sources (also embedded inline in docs)
references/ consumer reference, split by intent
quick-start.md, ecosystems.md, pinning.md, secrets.md
how-to/ task guides (target versioning, polyglot repo, ...)
concepts/ mental model, install model, release bot, ...
troubleshooting/ per-language and cross-cutting failures
profile/
README.md org-page content
scripts/
bootstrap-first-publish.sh local helper for a new package's first publish
spec/ Python behind the spec-versioning workflows (+ tests)
release-please-target/ release-please extension behind versioning-extension (+ tests)
tests/
workflows/ tests for workflow steps and the well-known action's run blocks
Makefile lint + test targets (see DEVELOPING.md)
SKILL.md consumer-facing how-to
DEVELOPING.md collaborator-facing how-to
This repo is itself released via release-please. Plain semver tags:
v0.1.0, v0.1.1, v0.2.0, ..., v1.0.0. Plus rolling major
tags (v0, v1, ...) auto-maintained by
roll-major-tag.yml.
Consuming repos pin to a rolling major (recommended):
uses: hop-top/.github/.github/workflows/publish-on-tag.yml@v0@v0 follows every stable release of the 0.x line. Before 1.0 a
breaking change (feat!) ships as a minor (bump-minor-pre-major),
so it moves v0 too; only 1.0.0 and later open a new major tag. A
prerelease tag (v0.15.0-rc.1) never moves a rolling tag. Pin
@v0.1.0 (or a commit SHA) to freeze exactly, @main to follow
everything (breaking changes welcome).
roll-major-tag.yml also runs by hand (workflow_dispatch, input
version, e.g. v0.1.0) to create a missing vMAJOR or point it at
an existing stable tag.
See SKILL.md for the full pinning options and
DEVELOPING.md for the release flow.