mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-19 01:51:21 +08:00
feat: add changeset release notes workflow
- Add .changeset/config.json with @changesets/changelog-github and fixed versioning for kilo-code + @kilocode/cli - Add .github/workflows/changeset-release.yml to auto-create version bump PRs on push to main - Add @changesets/cli and @changesets/changelog-github devDependencies - Add changeset and changeset:version scripts to root package.json - Add .changeset/README.md with contributor instructions Closes #7909
This commit is contained in:
committed by
Mark IJbema
parent
aa6b4df0cf
commit
8d09c7474f
@@ -0,0 +1,34 @@
|
||||
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 }}
|
||||
Reference in New Issue
Block a user