Skip to content

Commit

Permalink
Merge pull request #61 from linyqh/dev
Browse files Browse the repository at this point in the history
docs: 测试 release
  • Loading branch information
linyqh authored Nov 18, 2024
2 parents c9ba2c7 + 3fc22a4 commit 28f9c01
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -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 changes: 22 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 28f9c01

Please sign in to comment.