Skip to content
This repository was archived by the owner on Aug 31, 2024. It is now read-only.

Commit 340046a

Browse files
committed
system: update workflow configs
1 parent f927e31 commit 340046a

File tree

1 file changed

+35
-38
lines changed

1 file changed

+35
-38
lines changed
Lines changed: 35 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,35 @@
1-
name-template: '$RESOLVED_VERSION'
2-
tag-template: '$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: '🧪 Tests'
14-
labels:
15-
- 'test'
16-
- title: " 📦 Dependencies"
17-
labels:
18-
- "dependencies"
19-
- title: '🧰 Maintenance'
20-
label: 'chore'
21-
- title: '🧺 Miscellaneous' #Everything except ABAP
22-
label: 'misc'
23-
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
24-
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
25-
version-resolver:
26-
major:
27-
labels:
28-
- 'major'
29-
minor:
30-
labels:
31-
- 'minor'
32-
patch:
33-
labels:
34-
- 'patch'
35-
default: patch
36-
template: |
37-
## Changes
38-
$CHANGES
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
# branches to consider in the event; optional, defaults to all
6+
branches:
7+
- main
8+
# pull_request event is required only for autolabeler
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
update_release_draft:
15+
permissions:
16+
# write permission is required to create a github release
17+
contents: write
18+
# write permission is required for autolabeler
19+
# otherwise, read permission is required at least
20+
pull-requests: write
21+
runs-on: ubuntu-latest
22+
steps:
23+
# (Optional) GitHub Enterprise requires GHE_HOST variable set
24+
#- name: Set GHE_HOST
25+
# run: |
26+
# echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV
27+
28+
# Drafts your next Release notes as Pull Requests are merged into "master"
29+
- uses: release-drafter/release-drafter@v5
30+
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
31+
# with:
32+
# config-name: my-config.yml
33+
# disable-autolabeler: true
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)