Skip to content

Commit

Permalink
Merge pull request #3 from qazsato/add_release_drafter
Browse files Browse the repository at this point in the history
add release drafter
  • Loading branch information
qazsato authored Oct 25, 2024
2 parents 00a576e + 72c31e0 commit 8dacc0b
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name-template: 'v$NEXT_PATCH_VERSION'
tag-template: 'v$NEXT_PATCH_VERSION'
categories:
- title: '❗ Breaking Changes'
labels:
- 'breaking-change'
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🧰 Maintenance'
labels:
- 'chore'
- 'meta'
- 'maintenance'
- title: '📦 Dependencies'
labels:
- 'dependencies'
change-template: '- $TITLE (#$NUMBER)'
template: |
$CHANGES
15 changes: 15 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Release Drafter

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

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8dacc0b

Please sign in to comment.