Skip to content

Commit b6c732b

Browse files
authored
Update create-changelog.yml
1 parent 04b0fbf commit b6c732b

1 file changed

Lines changed: 33 additions & 5 deletions

File tree

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
1-
name: Generate changelog
2-
id: changelog
3-
uses: metcalfc/changelog-generator@v0.4.4
4-
with:
5-
myToken: ${{ secrets.GITHUB_TOKEN }}
1+
name: create-release
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
logLevel:
6+
description: 'Log level'
7+
required: true
8+
default: 'warning'
9+
tags:
10+
description: 'Test scenario tags'
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
# To use this repository's private action, you must check out the repository
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
- name: Generate changelog
19+
id: changelog
20+
uses: metcalfc/changelog-generator@v0.4.4
21+
with:
22+
myToken: ${{ secrets.GITHUB_TOKEN }}
23+
- name: Create Release
24+
id: create_release
25+
uses: actions/create-release@latest
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
with:
29+
tag_name: ${{ github.ref }}
30+
release_name: Release ${{ github.ref }}
31+
body: ${{ steps.changelog.outputs.changelog }}
32+
draft: false
33+
prerelease: false

0 commit comments

Comments
 (0)