Skip to content

Commit c82e16c

Browse files
author
Manthan Ankolekar
committed
feat: added releases yaml file
1 parent e045411 commit c82e16c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/releases.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Releases
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
changelog:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: conventional Changelog Action
14+
id: changelog
15+
uses: TriPSs/conventional-changelog-action@v3
16+
with:
17+
github-token: ${{ secrets.github_token }}
18+
19+
- name: create release
20+
uses: actions/create-release@v1
21+
if: ${{ steps.changelog.outputs.skipped == 'false' }}
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.github_token }}
24+
with:
25+
tag_name: ${{ steps.changelog.outputs.tag }}
26+
release_name: ${{ steps.changelog.outputs.tag }}
27+
body: ${{ steps.changelog.outputs.clean_changelog }}

0 commit comments

Comments
 (0)