mirror of
https://github.com/woodchen-ink/nezha-dash-v1.git
synced 2025-07-18 01:21:56 +08:00
fix: changelog
This commit is contained in:
parent
66b474c5de
commit
5c8ca642a8
20
.github/workflows/Build.yml
vendored
20
.github/workflows/Build.yml
vendored
@ -34,22 +34,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
files: dist.zip
|
files: dist.zip
|
||||||
|
|
||||||
changelog:
|
- name: Changelog
|
||||||
needs: release
|
run: bun x changelogithub
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Set node
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
registry-url: https://registry.npmjs.org/
|
|
||||||
node-version: lts/*
|
|
||||||
|
|
||||||
- run: npx changelogithub
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
|
||||||
|
15
changelogithub.config.json
Normal file
15
changelogithub.config.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"types": {
|
||||||
|
"feat": { "title": "🚀 Features" },
|
||||||
|
"fix": { "title": "🔧 Bug Fixes" },
|
||||||
|
"docs": { "title": "📚 Documentation" },
|
||||||
|
"style": { "title": "💄 Styles" },
|
||||||
|
"refactor": { "title": "🔨 Refactor" },
|
||||||
|
"perf": { "title": "🏎 Performance" },
|
||||||
|
"test": { "title": "🚨 Tests" },
|
||||||
|
"build": { "title": "🛠 Build" },
|
||||||
|
"ci": { "title": "👷 CI" },
|
||||||
|
"chore": { "title": "🛗 Chore" },
|
||||||
|
"revert": { "title": "⏪ Revert" }
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user