Skip to content

Commit

Permalink
ci: 🎡 自动发布release描述
Browse files Browse the repository at this point in the history
  • Loading branch information
monlor committed Jun 1, 2024
1 parent 7b9d869 commit fe13a5a
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name-template: 'v$NEXT_PATCH_VERSION'
tag-template: 'v$NEXT_PATCH_VERSION'
categories:
- title: '🚀 New Features'
labels:
- feature
commit:
- feat
- title: '🐛 Bug Fixes'
labels:
- bug
commit:
- fix
change-template: '- $TITLE (#$NUMBER) @$AUTHOR'
no-changes-template: 'No significant changes.'
1 change: 1 addition & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- test
tags:
- '*'
paths-ignore:
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release Drafter

on:
push:
branches:
- main
pull_request:
types: [closed]
branches:
- main

jobs:
update_release_draft:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Release Drafter
uses: release-drafter/release-drafter@v5
with:
config-name: release-drafter.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit fe13a5a

Please sign in to comment.