Skip to content

Commit 8f1299f

Browse files
Merge pull request #17 from devopsabcs-engineering/feature/lab06
Create release-drafter.yml
2 parents 20e89fc + 173532d commit 8f1299f

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
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
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
# Comment out the 2 lines if the permissions for the GITHUB_TOKEN is read and write and you get an workflow runtime error
9+
permissions:
10+
contents: write
11+
12+
jobs:
13+
update_release_draft:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: release-drafter/release-drafter@v5
17+
with:
18+
config-name: release-drafter.yml
19+
disable-autolabeler: true
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)