Skip to content

Commit c1b3f96

Browse files
authored
Auto building changelog (#8)
1 parent 599b748 commit c1b3f96

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

.github/workflows/changelog.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#
2+
# JBZoo Toolbox - CI-Report-Converter
3+
#
4+
# This file is part of the JBZoo Toolbox project.
5+
# For the full copyright and license information, please view the LICENSE
6+
# file that was distributed with this source code.
7+
#
8+
# @package CI-Report-Converter
9+
# @license MIT
10+
# @copyright Copyright (C) JBZoo.com, All rights reserved.
11+
# @link https://github.com/JBZoo/CI-Report-Converter
12+
#
13+
14+
name: 'Changelog'
15+
16+
on:
17+
push:
18+
tags:
19+
- '*'
20+
21+
jobs:
22+
release:
23+
if: startsWith(github.ref, 'refs/tags/')
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Build Changelog
27+
id: github_release
28+
uses: mikepenz/release-changelog-builder-action@v1
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
32+
- name: Create Release
33+
uses: softprops/action-gh-release@v1
34+
with:
35+
tag_name: ${{ github.ref }}
36+
release_name: ${{ github.ref }}
37+
body: ${{steps.github_release.outputs.changelog}}
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)