mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-19 01:51:21 +08:00
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:
@@ -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 }}
|
||||
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user