Skip to content

feat: add automated release workflows#46

Merged
tbjers merged 1 commit into
mainfrom
chore/release-automation-workflow
Jul 5, 2026
Merged

feat: add automated release workflows#46
tbjers merged 1 commit into
mainfrom
chore/release-automation-workflow

Conversation

@tbjers

@tbjers tbjers commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds release-prepare.yml: manual workflow_dispatch (version input) that bumps all version-bearing files (root/dashboard/.github/actions/report package.json + lockfiles, README action-usage pins), generates the CHANGELOG.md entry from conventional-commit history since the last tag, and opens a release/vX.Y.Z PR against main.
  • Adds release-publish.yml: triggers on merge of a release/v* PR, tags the merge commit, and creates the GitHub Release using the just-merged CHANGELOG.md section as notes.
  • main is ruleset-protected, so a direct-push single-workflow design isn't possible — merging the release PR is the approval gate, and publishing then happens automatically.

Test plan

  • Verified generate-changelog-entry.mjs against real repo history (categorizes fix/feat/etc., skips docs/chore/test/ci/build/style)
  • Verified insert-changelog-entry.mjs splices the new section + link ref above the existing CHANGELOG.md entry
  • Verified extract-changelog-section.mjs correctly bounds a section by the next heading or the trailing link-reference block
  • Verified npm version --no-git-tag-version bumps package.json + package-lock.json without needing node_modules
  • Verified the README .github/actions/report@vX.Y.Z pin replacement (caught and fixed a bug where the pattern assumed a lowercase org prefix)
  • Run release-prepare.yml end-to-end against a real version bump once merged

🤖 Generated with Claude Code

Adds a manually-triggered "Prepare release" workflow that bumps all
version-bearing files (root/dashboard/report-action package.json +
lockfiles, README action-usage pins) and writes the CHANGELOG.md entry
from conventional-commit history, then opens a PR. Since main is
ruleset-protected, a second "Publish release" workflow tags the merge
commit and creates the GitHub Release automatically once that PR merges.
@tbjers
tbjers merged commit 67d8bff into main Jul 5, 2026
2 checks passed
@tbjers
tbjers deleted the chore/release-automation-workflow branch July 5, 2026 03:07
@github-actions github-actions Bot mentioned this pull request Jul 5, 2026
@github-actions github-actions Bot mentioned this pull request Jul 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant