auto format and make categories for releases

This commit is contained in:
titus
2026-01-28 12:32:40 -06:00
parent 424d4030c1
commit 8ed3a31424
2 changed files with 6 additions and 8 deletions

View File

@@ -4,15 +4,16 @@ categories:
labels:
- 'feature'
- 'enhancement'
- 'new feature'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'hotfix'
- 'bugfix'
- 'bug'
- title: '📚 Documentation'
label: 'documentation'
- title: '🔒 Security'
label: 'security'
- title: '🎨 UI/UX Improvements'
label: 'ui update'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
template: |
## Changes
@@ -31,7 +32,7 @@ autolabeler:
- '/fix\/.+/'
title:
- '/fix/i'
- label: 'enhancement'
- label: 'new feature'
branch:
- '/feature\/.+/'
body:
@@ -40,9 +41,6 @@ autolabeler:
files:
- '**/*.md'
- 'docs/**/*'
- label: 'security'
branch:
- '/security\/.+/'
replacers:
- search: /"/g
replace: ''

View File

@@ -56,7 +56,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
config-name: release-drafter.yml
version: ${{ env.VERSION }} # Pass the version variable
version: ${{ env.VERSION }}
- name: Create and Upload Release
id: create_release