Skip to content

Commit

Permalink
chore(workflow): introduce changelogithub
Browse files Browse the repository at this point in the history
  • Loading branch information
nekomeowww committed Feb 20, 2025
1 parent 03d74df commit 3f69913
Show file tree
Hide file tree
Showing 5 changed files with 111 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/release-pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ on:
env:
STORE_PATH: ''

permissions:
contents: write
issues: write
pull-requests: write
id-token: write

jobs:
release:
name: Release
Expand Down Expand Up @@ -53,3 +59,8 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_CONFIG_PROVENANCE: true

- name: Sync GitHub Release
run: pnpm run changelogithub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions changelogithub.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { defineConfig } from 'changelogithub'

export default defineConfig({ draft: true })
1 change: 1 addition & 0 deletions cspell.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ words:
- Bitstream
- bumpp
- catppuccin
- changelogithub
- cientos
- collectblock
- composables
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"@unocss/eslint-plugin": "^65.5.0",
"@vitest/coverage-v8": "3.0.5",
"bumpp": "^10.0.3",
"changelogithub": "^13.12.1",
"cross-env": "^7.0.3",
"eslint": "^9.20.1",
"eslint-plugin-cypress": "^4.1.0",
Expand Down
96 changes: 95 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3f69913

Please sign in to comment.