Skip to content

Commit a13a545

Browse files
committed
chore: add CHANGELOG.md and GitHub release workflow
- Add CHANGELOG.md following Keep a Changelog format, documenting v0.1.0 initial release - Add .github/workflows/release.yml for manual release process: - Reads version from package.json - Runs full CI checks (test + lint + format) - Packages VS Code extension as .vsix via vsce - Creates GitHub Release with .vsix artifact attached
1 parent c5d4ca3 commit a13a545

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed

.github/workflows/release.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Release
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
release:
8+
name: Package and Release
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Read version from package.json
18+
id: version
19+
run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT
20+
21+
- name: Setup Node.js
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: 22
25+
cache: npm
26+
27+
- name: Install dependencies
28+
run: npm ci
29+
30+
- name: Run checks
31+
run: npm run ci
32+
33+
- name: Package extension
34+
run: npx @vscode/vsce package --no-dependencies -o github-copilot-usage-${{ steps.version.outputs.version }}.vsix
35+
36+
- name: Create GitHub Release
37+
uses: softprops/action-gh-release@v2
38+
with:
39+
tag_name: v${{ steps.version.outputs.version }}
40+
name: v${{ steps.version.outputs.version }}
41+
generate_release_notes: true
42+
files: github-copilot-usage-${{ steps.version.outputs.version }}.vsix

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6+
7+
## [0.1.0] - 2026-03-10
8+
9+
- 📊 Show GitHub Copilot Premium requests usage in the VS Code status bar
10+
- 🔄 Auto-refresh with configurable interval (default: 5 minutes)
11+
- 🟡 Warning threshold indicator (default: 75%)
12+
- 🔴 Critical threshold indicator (default: 90%)
13+
- 🔐 GitHub OAuth authentication via VS Code built-in auth provider
14+
- ⚡ Manual refresh command: "Copilot Usage: Refresh Now"

0 commit comments

Comments
 (0)