Skip to content

Commit 8596947

Browse files
chore: adding/editing shared github actions/configurations
1 parent 1889cb1 commit 8596947

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

.github/configs/draft-release.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name-template: 'v$RESOLVED_VERSION'
2+
tag-template: '$RESOLVED_VERSION'
3+
version-template: '$MAJOR.$MINOR.$PATCH'
4+
version-resolver:
5+
major:
6+
labels:
7+
- 'major'
8+
minor:
9+
labels:
10+
- 'minor'
11+
- 'enhancement'
12+
patch:
13+
labels:
14+
- 'auto-update'
15+
- 'patch'
16+
- 'fix'
17+
- 'bugfix'
18+
- 'bug'
19+
- 'hotfix'
20+
- 'no-release'
21+
default: 'minor'
22+
23+
categories:
24+
- title: '🚀 Enhancements'
25+
labels:
26+
- 'enhancement'
27+
- 'patch'
28+
- title: '🐛 Bug Fixes'
29+
labels:
30+
- 'fix'
31+
- 'bugfix'
32+
- 'bug'
33+
- 'hotfix'
34+
- title: '🤖 Automatic Updates'
35+
labels:
36+
- 'auto-update'
37+
38+
change-template: |
39+
<details>
40+
<summary>$TITLE @$AUTHOR (#$NUMBER)</summary>
41+
42+
$BODY
43+
</details>
44+
45+
template: |
46+
$CHANGES
47+
48+
replacers:
49+
# Remove irrelevant information from Renovate bot
50+
- search: '/(?<=---\s)\s*^#.*(Renovate configuration|Configuration)(?:.|\n)*?This PR has been generated .*/gm'
51+
replace: ''
52+
# Remove Renovate bot banner image
53+
- search: '/\[!\[[^\]]*Renovate\][^\]]*\](\([^)]*\))?\s*\n+/gm'
54+
replace: ''

0 commit comments

Comments
 (0)