mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-02-04 06:50:09 +00:00
auto format and make categories for releases
This commit is contained in:
12
.github/release-drafter.yml
vendored
12
.github/release-drafter.yml
vendored
@@ -4,15 +4,16 @@ categories:
|
|||||||
labels:
|
labels:
|
||||||
- 'feature'
|
- 'feature'
|
||||||
- 'enhancement'
|
- 'enhancement'
|
||||||
|
- 'new feature'
|
||||||
- title: '🐛 Bug Fixes'
|
- title: '🐛 Bug Fixes'
|
||||||
labels:
|
labels:
|
||||||
- 'fix'
|
- 'hotfix'
|
||||||
- 'bugfix'
|
- 'bugfix'
|
||||||
- 'bug'
|
- 'bug'
|
||||||
- title: '📚 Documentation'
|
- title: '📚 Documentation'
|
||||||
label: 'documentation'
|
label: 'documentation'
|
||||||
- title: '🔒 Security'
|
- title: '🎨 UI/UX Improvements'
|
||||||
label: 'security'
|
label: 'ui update'
|
||||||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
|
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
|
||||||
template: |
|
template: |
|
||||||
## Changes
|
## Changes
|
||||||
@@ -31,7 +32,7 @@ autolabeler:
|
|||||||
- '/fix\/.+/'
|
- '/fix\/.+/'
|
||||||
title:
|
title:
|
||||||
- '/fix/i'
|
- '/fix/i'
|
||||||
- label: 'enhancement'
|
- label: 'new feature'
|
||||||
branch:
|
branch:
|
||||||
- '/feature\/.+/'
|
- '/feature\/.+/'
|
||||||
body:
|
body:
|
||||||
@@ -40,9 +41,6 @@ autolabeler:
|
|||||||
files:
|
files:
|
||||||
- '**/*.md'
|
- '**/*.md'
|
||||||
- 'docs/**/*'
|
- 'docs/**/*'
|
||||||
- label: 'security'
|
|
||||||
branch:
|
|
||||||
- '/security\/.+/'
|
|
||||||
replacers:
|
replacers:
|
||||||
- search: /"/g
|
- search: /"/g
|
||||||
replace: ''
|
replace: ''
|
||||||
|
|||||||
2
.github/workflows/pre-release.yaml
vendored
2
.github/workflows/pre-release.yaml
vendored
@@ -56,7 +56,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
config-name: release-drafter.yml
|
config-name: release-drafter.yml
|
||||||
version: ${{ env.VERSION }} # Pass the version variable
|
version: ${{ env.VERSION }}
|
||||||
|
|
||||||
- name: Create and Upload Release
|
- name: Create and Upload Release
|
||||||
id: create_release
|
id: create_release
|
||||||
|
|||||||
Reference in New Issue
Block a user