File tree Expand file tree Collapse file tree 2 files changed +73
-0
lines changed Expand file tree Collapse file tree 2 files changed +73
-0
lines changed Original file line number Diff line number Diff line change
1
+ name-template : ' v$RESOLVED_VERSION 🌈'
2
+ tag-template : ' v$RESOLVED_VERSION'
3
+ categories :
4
+ - title : ' 🚀 Features'
5
+ labels :
6
+ - ' feature'
7
+ - ' enhancement'
8
+ - title : ' 🐛 Bug Fixes'
9
+ labels :
10
+ - ' fix'
11
+ - ' bugfix'
12
+ - ' bug'
13
+ - title : ' 🧰 Maintenance'
14
+ label : ' chore'
15
+ change-template : ' - $TITLE @$AUTHOR (#$NUMBER)'
16
+ change-title-escapes : ' \<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
17
+ version-resolver :
18
+ major :
19
+ labels :
20
+ - ' major'
21
+ minor :
22
+ labels :
23
+ - ' minor'
24
+ patch :
25
+ labels :
26
+ - ' patch'
27
+ default : patch
28
+ template : |
29
+ ## Changes
30
+
31
+ $CHANGES
Original file line number Diff line number Diff line change
1
+ name : Release Drafter
2
+
3
+ on :
4
+ push :
5
+ # branches to consider in the event; optional, defaults to all
6
+ branches :
7
+ - master
8
+
9
+ # pull_request event is required only for autolabeler
10
+ pull_request :
11
+ # Only following types are handled by the action, but one can default to all as well
12
+ types : [opened, reopened, synchronize]
13
+ # pull_request_target event is required for autolabeler to support PRs from forks
14
+ # pull_request_target:
15
+ # types: [opened, reopened, synchronize]
16
+
17
+ permissions :
18
+ contents : read
19
+
20
+ jobs :
21
+ update_release_draft :
22
+ permissions :
23
+ # write permission is required to create a github release
24
+ contents : write
25
+ # write permission is required for autolabeler
26
+ # otherwise, read permission is required at least
27
+ pull-requests : write
28
+ runs-on : ubuntu-latest
29
+ steps :
30
+ # (Optional) GitHub Enterprise requires GHE_HOST variable set
31
+ # - name: Set GHE_HOST
32
+ # run: |
33
+ # echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV
34
+
35
+ # Drafts your next Release notes as Pull Requests are merged into "master"
36
+ -
uses :
release-drafter/[email protected]
37
+ # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
38
+ # with:
39
+ # config-name: my-config.yml
40
+ # disable-autolabeler: true
41
+ env :
42
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments