Skip to content

Commit faa34b9

Browse files
Merge pull request #4 from kpj2006/release-drafter
add release drafter
2 parents 14c8905 + 424b975 commit faa34b9

File tree

2 files changed

+110
-0
lines changed

2 files changed

+110
-0
lines changed

.github/release-drafter.yml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
name-template: 'v$RESOLVED_VERSION'
2+
tag-template: 'v$RESOLVED_VERSION'
3+
4+
categories:
5+
- title: '🚀 Features'
6+
labels:
7+
- 'feature'
8+
- 'enhancement'
9+
- 'feat'
10+
- title: '🐛 Bug Fixes'
11+
labels:
12+
- 'fix'
13+
- 'bugfix'
14+
- 'bug'
15+
- title: '🧰 Maintenance'
16+
labels:
17+
- 'chore'
18+
- 'maintenance'
19+
- 'refactor'
20+
- title: '📝 Documentation'
21+
labels:
22+
- 'documentation'
23+
- 'docs'
24+
- title: '🔧 Configuration'
25+
labels:
26+
- 'configuration'
27+
- 'config'
28+
- title: '🧪 Tests'
29+
labels:
30+
- 'tests'
31+
- 'test'
32+
- title: '⬆️ Dependencies'
33+
labels:
34+
- 'dependencies'
35+
- 'deps'
36+
- title: '🎨 Frontend'
37+
labels:
38+
- 'frontend'
39+
- 'ui'
40+
- title: '⚙️ Backend'
41+
labels:
42+
- 'backend'
43+
- 'api'
44+
- title: '🔐 Security'
45+
labels:
46+
- 'security'
47+
- title: '🐳 Docker'
48+
labels:
49+
- 'docker'
50+
- title: '🚀 CI/CD'
51+
labels:
52+
- 'ci-cd'
53+
- 'github-actions'
54+
- title: '👥 Contributors'
55+
labels:
56+
- 'first-time-contributor'
57+
- 'external-contributor'
58+
59+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
60+
change-title-escapes: '\<*_&'
61+
62+
template: |
63+
## What's Changed
64+
65+
$CHANGES
66+
67+
## Contributors
68+
69+
$CONTRIBUTORS
70+
71+
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
72+
73+
exclude-labels:
74+
- 'skip-changelog'
75+
- 'no-changelog'
76+
- 'duplicate'
77+
- 'invalid'
78+
- 'wontfix'
79+
80+
replacers:
81+
- search: '/CVE-(\d{4})-(\d+)/g'
82+
replace: '[CVE-$1-$2](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-$1-$2)'
83+
84+
include-pre-releases: false
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
pull_request:
9+
types: [closed]
10+
11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
15+
jobs:
16+
update_release_draft:
17+
if: ${{ github.repository_owner == 'AOSSIE-Org' }}
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Run Release Drafter
21+
uses: release-drafter/release-drafter@v6
22+
with:
23+
config-name: release-drafter.yml
24+
disable-autolabeler: false
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)