Skip to content

Commit 14bcc26

Browse files
authored
Create release-drafter (#7)
* Create releasd-drafter.yml * Rename releasd-drafter.yml to release-drafter.yml * Create release-drafter.yml * Update push.yml * Update release-drafter.yml
1 parent 21d40fc commit 14bcc26

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

.github/release-drafter.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
template: |
2+
## What’s Changed
3+
4+
$CHANGES

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Push actions
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
- dev
88

99
jobs:
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
update_release_draft:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: release-drafter/release-drafter@v5
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)