8000 chore(ci): initial setup for conventional changelog · Sgitario/java-operator-sdk@859b0ef · GitHub
[go: up one dir, main page]

Skip to content

Commit 859b0ef

Browse files
committed
chore(ci): initial setup for conventional changelog
See https://github.com/TriPSs/conventional-changelog-action for more details. Not tested yet!
1 parent bb572fc commit 859b0ef

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,21 @@ jobs:
1616
run: mvn versions:set -DnewVersion="${RELEASE_VERSION:1}" versions:commit
1717
env:
1818
RELEASE_VERSION: ${{ github.event.release.tag_name }}
19+
- name: Conventional Changelog Action
20+
id: changelog
21+
uses: TriPSs/conventional-changelog-action@v3
22+
with:
23+
github-token: ${{ secrets.github_token }}
24+
output-file: "false"
25+
- name: Create Release
26+
uses: actions/create-release@v1
27+
if: ${{ steps.changelog.outputs.skipped == 'false' }}
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.github_token }}
30+
with:
31+
tag_name: ${{ steps.changelog.outputs.tag }}
32+
release_name: ${{ steps.changelog.outputs.tag }}
33+
body: ${{ steps.changelog.outputs.clean_changelog }}
1934
- name: Release Maven package
2035
uses: samuelmeuli/action-maven-publish@v1
2136
with:

0 commit comments

Comments
 (0)
0