Skip to content

Commit 12f6015

Browse files
Reading docs might help actually
1 parent 22e4bb2 commit 12f6015

2 files changed

Lines changed: 46 additions & 12 deletions

File tree

.github/release-drafter.yml

Lines changed: 42 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,59 @@
1-
name-template: "v$NEXT_MAJOR_VERSION.$NEXT_MINOR_VERSION.$NEXT_PATCH_VERSION"
2-
tag-template: "v$NEXT_MAJOR_VERSION.$NEXT_MINOR_VERSION.$NEXT_PATCH_VERSION"
1+
name-template: "v$RESOLVED_VERSION"
2+
tag-template: "v$RESOLVED_VERSION"
33

44
exclude-labels:
55
- skip-release
66

7+
autolabeler:
8+
- label: "feature"
9+
title: "/(Add|Adds|Create|New|Support|Implement)/i"
10+
- label: "fix"
11+
title: "/(fix|fixed)/i"
12+
- label: "documentation"
13+
title: "/(Doc|Docs)/i"
14+
- label: "housekeeping"
15+
title: "/(Clean|Update|Remove|Refactor|Redownload)/i"
16+
- label: "test"
17+
title: "/(test|testing)/i"
18+
719
categories:
820
- title: "🌟 New Features"
9-
title-regex: "/(Add|Adds|Create|New|Support|Implement)/i"
21+
labels:
22+
- feature
23+
- enhancement
1024
- title: "🔧 Fixed"
11-
title-regex: "/(fix|fixed)/i"
25+
labels:
26+
- fix
27+
- bugfix
1228
- title: "📖 Docs"
13-
title-regex: "/(Doc|Docs)/i"
29+
labels:
30+
- documentation
1431
- title: "🧹 Tidying Up"
15-
title-regex: "/(Clean|Update|Remove|Refactor|Redownload)/i"
32+
labels:
33+
- housekeeping
34+
- refactor
1635
- title: "🎙️ Testing testing testing"
17-
title-regex: "/(test|testing)/i"
36+
labels:
37+
- test
1838

1939
change-template: "- $TITLE (#$NUMBER) @$AUTHOR"
2040
change-title-escapes: '\<*_&'
2141

42+
version-resolver:
43+
major:
44+
labels:
45+
- major
46+
minor:
47+
labels:
48+
- minor
49+
- feature
50+
patch:
51+
labels:
52+
- patch
53+
- fix
54+
default: patch
55+
2256
template: |
23-
## Changes in this Release
57+
## In the Latest Episode of `AO3.js`...
2458
2559
$CHANGES

.github/workflows/release-drafter.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ on:
44
push:
55
branches:
66
- main
7-
pull_request:
7+
pull_request_target:
88
types: [opened, reopened, synchronize]
99

1010
permissions:
11-
contents: read
12-
pull-requests: read
11+
contents: write
12+
pull-requests: write
1313

1414
jobs:
1515
update_release_draft:
1616
runs-on: ubuntu-latest
1717
permissions:
1818
contents: write
19-
pull-requests: read
19+
pull-requests: write
2020
steps:
2121
- uses: release-drafter/release-drafter@v6
2222
with:

0 commit comments

Comments
 (0)