Skip to content

Commit 4b346fc

Browse files
committed
Using python 3.8 and 3.9
1 parent 9177ac5 commit 4b346fc

File tree

2 files changed

+22
-10
lines changed

2 files changed

+22
-10
lines changed

.github/release-drafter-config.yml renamed to .github/release-drafter.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
name-template: 'v$RESOLVED_VERSION'
1+
name-template: 'v$RESOLVED_VERSION 🌈'
22
tag-template: 'v$RESOLVED_VERSION'
33
categories:
4-
- title: 'Features'
4+
- title: '🚀 Features'
55
labels:
66
- 'feature'
77
- 'enhancement'
8-
- title: 'Bug Fixes'
8+
- title: '🐛 Bug Fixes'
99
labels:
1010
- 'fix'
1111
- 'bugfix'
1212
- 'bug'
13-
- title: 'Maintenance'
13+
- title: '🧰 Maintenance'
1414
label: 'chore'
1515
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
1616
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.

.github/workflows/release-drafter.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,29 @@ on:
44
push:
55
# branches to consider in the event; optional, defaults to all
66
branches:
7-
- master
87
- main
8+
# pull_request event is required only for autolabeler
9+
pull_request:
10+
# Only following types are handled by the action, but one can default to all as well
11+
types: [opened, reopened, synchronize]
12+
# pull_request_target event is required for autolabeler to support PRs from forks
13+
# pull_request_target:
14+
# types: [opened, reopened, synchronize]
915

1016
jobs:
1117
update_release_draft:
1218
runs-on: ubuntu-latest
1319
steps:
20+
# (Optional) GitHub Enterprise requires GHE_HOST variable set
21+
#- name: Set GHE_HOST
22+
# run: |
23+
# echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV
24+
1425
# Drafts your next Release notes as Pull Requests are merged into "master"
15-
- uses: release-drafter/[email protected]
16-
with:
17-
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
18-
config-name: release-drafter-config.yml
26+
- uses: release-drafter/release-drafter@v5
27+
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
28+
# with:
29+
# config-name: my-config.yml
30+
# disable-autolabeler: true
1931
env:
20-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)