Skip to content

Commit 9223b89

Browse files
authored
Merge pull request #1 from impresscms-dev/ci/add-release-drafter
Added release drafter
2 parents 2d5dac7 + a5d2f0a commit 9223b89

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.github/release-drafter.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name-template: 'v$NEXT_PATCH_VERSION 🌈'
2+
tag-template: 'v$NEXT_PATCH_VERSION'
3+
categories:
4+
- title: '🚀 Features'
5+
labels:
6+
- 'enhancement'
7+
- title: '🐛 Bug Fixes'
8+
labels:
9+
- 'bug'
10+
- title: '🧰 Maintenance'
11+
labels:
12+
- 'chore'
13+
- 'dependencies'
14+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
15+
template: |
16+
## What's Changed
17+
18+
$CHANGES
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: On pull request merged
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
types:
8+
- closed
9+
10+
jobs:
11+
update_release_draft:
12+
runs-on: ubuntu-latest
13+
if: github.event.pull_request.merged == true
14+
steps:
15+
- uses: release-drafter/release-drafter@v5
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)