2.0.0: actions under actions/, release by dispatch, fragments on release branches, lint #37
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
mikluko/changelog!37
Loading…
Reference in a new issue
No description provided.
Delete branch "release-dispatch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What and why
Reapplies #36's move under
actions/, reverted in1f59736after v2.0.0 was withdrawn, without its hand-cut release: the 2.0.0 notes are fragments again. Merging cuts nothing; the first dispatch afterwards cuts 2.0.0 with every fragment. Folds in #38.main: folds the fragments, writesactions/VERSION, validates the changelog and runs the suite, then pushes the release commit and cuts the tag. A run failing after the push resumes at the tag. The version moves from the threeaction.yamlfiles intoactions/VERSION.fragments-releasereports what releasing what is pending today would raise that the changelog as it stands does not: the open entry closed with the fragments folded in where there is one, else[Unreleased].missing-fragmentfails a pull request carrying no notes: no new fragment and no new note in the changelog, against the merge base with the newbaseinput (defaultgithub.base_ref).foldappends the fragments to the open entry, or to[Unreleased];examples/release-branchtakes its notes as fragments.fragmentsdefaults to.changelog;fragments: ""opts out, asrelease-trunkdoes. README gains "Migrating from 1.x".changelogjob becomeslint: golangci-lint (standard set,gocognitat 20,gofmt), govulncheck and actionlint. Eight functions over the complexity bar are split, unchecked writes are returned.Unverified on a runner: the workflow's push to
mainunder branch protection, Forgejo evaluating${{ github.base_ref }}as an input default, that the automatic token's push starts no other run, andshellcheckon the runner image.Checklist
.changelog/gained a fragment carrying this change's notes, or this change needs none.AI assistance
Claude Code (Claude Opus 5.5).
2.0.0: actions under actions/, release by dispatch, fragment checksto 2.0.0: actions under actions/, release by dispatch, fragments on release branches, lint