1 |
rakin |
472 |
name: Release Drafter |
2 |
|
|
|
3 |
|
|
on: |
4 |
rakin |
497 |
push: |
5 |
|
|
branches: [ main ] |
6 |
rakin |
472 |
|
7 |
|
|
jobs: |
8 |
rakin |
497 |
draft_release: |
9 |
rakin |
472 |
runs-on: ubuntu-latest |
10 |
|
|
steps: |
11 |
rakin |
497 |
- name: Conventional Changelog Action |
12 |
|
|
id: changelog |
13 |
|
|
uses: TriPSs/conventional-changelog-action@v3 |
14 |
|
|
with: |
15 |
|
|
github-token: ${{ secrets.github_token }} |
16 |
|
|
output-file: "false" |
17 |
rakin |
472 |
|
18 |
rakin |
497 |
- name: Create Release |
19 |
|
|
uses: actions/create-release@v1 |
20 |
|
|
if: ${{ steps.changelog.outputs.skipped == 'false' }} |
21 |
rakin |
472 |
env: |
22 |
rakin |
497 |
GITHUB_TOKEN: ${{ secrets.github_token }} |
23 |
|
|
with: |
24 |
|
|
tag_name: ${{ steps.changelog.outputs.tag }} |
25 |
|
|
release_name: ${{ steps.changelog.outputs.tag }} |
26 |
|
|
body: ${{ steps.changelog.outputs.clean_changelog }} |