Repository navigation
Conversation
`${latest:+$PREFIX$latest}${latest:-none}` expands to both halves when
latest is set, so the step summary and dry-run line read v1.0.21.0.2.
Compute the label once. Notes and tags were never affected; the
promotion PR #27 dry-run showed the string.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
fix(release): name the previous release once in the summary
…otion Add the reusable `version` workflow. After CI passes on develop it works out the next semantic version from the entries under [Unreleased], rolls them into a dated version section and commits that to develop through createCommitOnBranch, so the promotion pull request carries the changelog that `release` tags on the merge. A rolled section that is neither tagged nor on main is pending and is re-derived on later runs, so several develop pushes before one merge make one release. `self-promote.yml` chains it ahead of `promote` for this repository and previews the next release on pull requests into develop. ADR-001 records why the commit goes on develop and the tag stays on the merge. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Review of the version workflow found that a failed branch-head lookup was reported as "develop moved on" and let promote continue on an unrolled changelog, and that a manual run from another branch could close or rewrite the promotion pull request. The lookup now fails loudly, a ref that is not on the branch is an error, and promote.yml refuses a ref that is not on develop. The changelog parsers in version.yml and release.yml skip headings inside fenced code blocks; version.yml also refuses unbracketed version headings, keeps CRLF line endings, and no longer mistakes gh's stderr for the commit id. tests/version.sh runs both scripts against throwaway repositories with a stand-in for the GitHub API; the lint workflow runs it. Co-Authored-By: Claude Fable 5.2 <[email protected]>
feat(version): roll the changelog and compute the version before promotion
…develop version.yml committed the rolled changelog straight to develop, the one commit that bypassed the pull-request branch model. It now builds the roll-up on the workflow-owned chore/roll-changelog branch (via a staging branch, so the PR branch never points at its base and gets auto-closed) and opens or updates one pull request into develop. Merging it is the release decision: the run that merge starts finds nothing to roll, deletes the branch, and lets promote open the promotion pull request. version and promote also take an optional GitHub App (app-client-id, app-private-key) so their pull requests run CI without the approval click; without it they fall back to GITHUB_TOKEN. BREAKING CHANGE: callers must grant the version job pull-requests: write, run promote only when the new pull-request output is empty, and drop the removed rolled output and token secret. sha is now always ref. Rationale in ADR-002. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- self-promote's dry-run preview job now grants pull-requests: write;
version.yml declares it, so the preview would not have started.
- New `promote` output ('true' only when nothing is left to roll and ref
is still the branch head). An empty pull-request alone also held for a
superseded run, which then promoted a stale commit.
- Re-read the branch head after the roll-up commit: the fresh staging
branch made expectedHeadOid useless as a guard on develop.
- retire also deletes a staging branch left by a cancelled run, and
ref_exists no longer reads a server error as a missing branch.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
feat(version)!: open a roll-up pull request instead of committing to develop
chore(release): roll changelog into 2.0.0
Co-Authored-By: Claude Opus 5.5 <[email protected]>
docs(claude): scope the caller scan to ggrace519 and 519lab
The repository was a fork of ggrace519/.github and carried a full copy of the shared workflows with their own release pipeline and tags, which no repository calls. Now that it is detached from the fork network it keeps only what an organization .github repository is for: the default SECURITY.md, used by every public 519lab repository without its own. Co-Authored-By: Claude Opus 5.5 <[email protected]>
chore: make this the standalone org-defaults repository
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
Promotes #5 to
main: the repository becomes the standalone org-defaults repository (SECURITY.md,README.md,CLAUDE.md,CHANGELOG.md), andmainstops carrying the copy of the shared workflows.Use a merge commit, not a squash or rebase.
mainholds two old merge commits (#1, #2) thatdeveloplacks. A merge commit keeps the two branches related; a squash would make them diverge again.Verification
origin/developintoorigin/mainlocally: clean, and the resulting tree is exactly those four files.🤖 Generated with Claude Code