mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-19 01:51:21 +08:00
- 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
35 lines
770 B
YAML
35 lines
770 B
YAML
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 }}
|