chore(ci): automatic realease

This commit is contained in:
Nicolas Carlier 2023-10-03 17:59:11 +00:00
parent 7cbaff895f
commit 65427c5c72

27
.github/workflows/release.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: Releases
on:
push:
branches:
- master
jobs:
changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: conventional Changelog Action
id: changelog
uses: TriPSs/conventional-changelog-action@v3
with:
github-token: ${{ secrets.github_token }}
- name: create release
uses: actions/create-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
with:
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}