Browse Source

[ENH] add release drafter

tags/v0.3.2
bxdd 1 year ago
parent
commit
d21d89ea8d
4 changed files with 40 additions and 4 deletions
  1. +0
    -2
      .gitee/ISSUE_TEMPLATE/feature-request.yml
  2. +0
    -2
      .github/ISSUE_TEMPLATE/feature-request.yml
  3. +24
    -0
      .github/release-drafter.yml
  4. +16
    -0
      .github/workflows/release-drafter.yml

+ 0
- 2
.gitee/ISSUE_TEMPLATE/feature-request.yml View File

@@ -13,8 +13,6 @@ body:
- type: textarea - type: textarea
id: contribution id: contribution
validations:
required: true
attributes: attributes:
label: 你的贡献 label: 你的贡献
description: | description: |


+ 0
- 2
.github/ISSUE_TEMPLATE/feature-request.yml View File

@@ -14,8 +14,6 @@ body:
- type: textarea - type: textarea
id: contribution id: contribution
validations:
required: true
attributes: attributes:
label: Your Contribution label: Your Contribution
description: | description: |


+ 24
- 0
.github/release-drafter.yml View File

@@ -0,0 +1,24 @@
name-template: 'v$RESOLVED_VERSION 🌈'
tag-template: 'v$RESOLVED_VERSION'
categories:
- title: '\U0001F680 New Feature'
labels:
- 'feature'
- 'enhancement'
- title: '\U0001F41B Fixed Bug'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '\U0001F4D6 Documentation'
label:
- 'doc'
- 'documentation'
- title: '\U0001F9F9 Maintenance'
label:
- 'maintenance'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
template: |
## Changes

$CHANGES

+ 16
- 0
.github/workflows/release-drafter.yml View File

@@ -0,0 +1,16 @@
name: Release Drafter

on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- main

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "main"
- uses: release-drafter/release-drafter@v5.11.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Loading…
Cancel
Save