Skip to content

Commit eb152eb

Browse files
authored
ci: auto-merge version PR to streamline releases (Fission-AI#474)
* Add changeset for Continue support, shell completions, and explore command * ci: auto-merge version PR to streamline releases Enable auto-merge on the changesets version PR so it merges automatically once CI passes. This reduces the release process from 2 manual PR merges to effectively 1. Requires enabling "Allow auto-merge" in repository settings and branch protection rules on main.
1 parent e987a5a commit eb152eb

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
"@fission-ai/openspec": minor
3+
---
4+
5+
### New Features
6+
7+
- **Continue IDE support** – OpenSpec now generates slash commands for [Continue](https://continue.dev/), expanding editor integration options alongside Cursor, Windsurf, Claude Code, and others
8+
- **Shell completions for Bash, Fish, and PowerShell** – Run `openspec completion install` to set up tab completion in your preferred shell
9+
- **`/opsx:explore` command** – A new thinking partner mode for exploring ideas and investigating problems before committing to changes
10+
- **Codebuddy slash command improvements** – Updated frontmatter format for better compatibility
11+
12+
### Bug Fixes
13+
14+
- Shell completions now correctly offer parent-level flags (like `--help`) when a command has subcommands
15+
- Fixed Windows compatibility issues in tests
16+
17+
### Other
18+
19+
- Added optional anonymous usage statistics to help understand how OpenSpec is used. This is **opt-out** by default – set `OPENSPEC_TELEMETRY=0` or `DO_NOT_TRACK=1` to disable. Only command names and version are collected; no arguments, file paths, or content. Automatically disabled in CI environments.

.github/workflows/release-prepare.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636

3737
# Opens/updates the Version Packages PR; publishes when the Version PR merges
3838
- name: Create/Update Version PR
39+
id: changesets
3940
uses: changesets/action@v1
4041
with:
4142
title: 'chore(release): version packages'
@@ -46,3 +47,10 @@ jobs:
4647
env:
4748
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4849
# npm authentication handled via OIDC trusted publishing (no token needed)
50+
51+
# Auto-merge the version PR when CI passes (reduces release to effectively 1 PR)
52+
- name: Enable auto-merge for Version PR
53+
if: steps.changesets.outputs.pullRequestNumber
54+
run: gh pr merge ${{ steps.changesets.outputs.pullRequestNumber }} --auto --squash
55+
env:
56+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)