mirror of
https://github.com/linyqh/NarratoAI.git
synced 2025-12-10 18:02:51 +00:00
docs: 测试 release
This commit is contained in:
parent
f16023d276
commit
3fc22a4df8
47
.github/release-drafter.yml
vendored
Normal file
47
.github/release-drafter.yml
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
name-template: 'v$RESOLVED_VERSION'
|
||||
tag-template: 'v$RESOLVED_VERSION'
|
||||
categories:
|
||||
- title: '🚀 新功能'
|
||||
labels:
|
||||
- 'feature'
|
||||
- 'enhancement'
|
||||
- title: '🐛 Bug 修复'
|
||||
labels:
|
||||
- 'fix'
|
||||
- 'bug'
|
||||
- title: '🧰 维护'
|
||||
labels:
|
||||
- 'chore'
|
||||
- 'maintenance'
|
||||
- title: '📚 文档'
|
||||
labels:
|
||||
- 'docs'
|
||||
- 'documentation'
|
||||
|
||||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
|
||||
|
||||
version-resolver:
|
||||
major:
|
||||
labels:
|
||||
- 'major'
|
||||
- 'breaking'
|
||||
minor:
|
||||
labels:
|
||||
- 'minor'
|
||||
- 'feature'
|
||||
patch:
|
||||
labels:
|
||||
- 'patch'
|
||||
- 'fix'
|
||||
- 'bug'
|
||||
- 'maintenance'
|
||||
default: patch
|
||||
|
||||
template: |
|
||||
## 更新内容
|
||||
|
||||
$CHANGES
|
||||
|
||||
## 贡献者
|
||||
|
||||
$CONTRIBUTORS
|
||||
22
.github/workflows/release-drafter.yml
vendored
Normal file
22
.github/workflows/release-drafter.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
name: Release Drafter
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
types: [opened, reopened, synchronize]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
update_release_draft:
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: release-drafter/release-drafter@v5
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
|
||||
Loading…
x
Reference in New Issue
Block a user