From ad6b68c77109782e1d9e65241f90dc12944d8a13 Mon Sep 17 00:00:00 2001 From: fOuttaMyPaint Date: Sat, 25 Apr 2026 11:33:13 -0400 Subject: [PATCH] feat: integrate release-doc-sync action to keep CHANGELOG aligned Adds the release-doc-sync@v1.0 composite action from the meta-repo to release.yml. After plugin.json is bumped on auto-release, the action prepends a stub entry to CHANGELOG.md for the new version. This repo does not ship CLAUDE.md or ROADMAP.md, so the action's CLAUDE/ROADMAP edits are no-ops here (the action reports them as "missing" and exits cleanly). The existing "Commit version bump" step uses a selective `git add .cursor-plugin/plugin.json README.md` rather than `git add -A`, so CHANGELOG.md is added to that list to ensure the prepended entry actually lands in the release commit. Without this change the action would run but its sole useful output (the CHANGELOG prepend) would be silently discarded. Phase 2c rollout following the Docker smoke test pattern. The action is verified working at v1.8.2 (pinned via @v1.0 floating tag). Refs TMHSDigital/Developer-Tools-Directory#5. Signed-off-by: 154358121+TMHSDigital@users.noreply.github.com --- .github/workflows/release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fba8232..30828f1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -122,6 +122,13 @@ jobs: print(f'Updated README.md badge to {new_version}') " + - name: Sync release docs + if: steps.check.outputs.skip == 'false' + uses: TMHSDigital/Developer-Tools-Directory/.github/actions/release-doc-sync@v1.0 + with: + plugin-version: ${{ steps.new.outputs.version }} + previous-version: ${{ steps.current.outputs.version }} + - name: Generate release notes from commits if: steps.check.outputs.skip == 'false' id: notes @@ -200,7 +207,7 @@ jobs: run: | git config user.name "github-actions[bot]" git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - git add .cursor-plugin/plugin.json README.md + git add .cursor-plugin/plugin.json README.md CHANGELOG.md git commit -m "chore: bump version to ${{ steps.new.outputs.version }} [skip ci]" git push