feat: integrate changesets into existing publish.yml release flow

Remove standalone changeset-release.yml workflow (version bump PR approach).
Instead, run changeset version inside publish.yml's version job to consume
.changeset/*.md files into CHANGELOG.md, then extract the latest section
for GitHub release notes. This replaces the previous AI-generated changelog
(opencode run --command changelog) with changeset-based entries.
This commit is contained in:
Mark IJbema
2026-04-13 17:18:22 +02:00
parent c5115afd29
commit e199c0e0fb
4 changed files with 32 additions and 40 deletions
-34
View File
@@ -1,34 +0,0 @@
name: Changeset Release
on:
push:
branches:
- main
workflow_dispatch:
jobs:
changeset-pr-version-bump:
runs-on: ubuntu-latest
if: github.repository == 'Kilo-Org/kilocode'
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/setup-bun
- name: Install dependencies
run: bun install
- name: Changeset Pull Request
id: changesets
uses: changesets/action@v1
with:
commit: "chore: changeset version bump"
title: "chore: changeset version bump"
version: bun run changeset:version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+5
View File
@@ -46,9 +46,14 @@ jobs:
- uses: ./.github/actions/setup-bun
# kilocode_change start - install deps for changeset changelog generation
- name: Install dependencies
run: bun install
- name: Install Kilo
if: inputs.bump || inputs.version
run: bun i -g @kilocode/cli
# kilocode_change end
- id: version
run: |