Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add changelog generation #420

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/build-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches: [main]

permissions:
contents: write

jobs:
build:
name: Build, tag and push image
Expand Down Expand Up @@ -53,6 +56,24 @@ jobs:
git tag ${{ steps.gitversion.outputs.semVer }}
git push origin ${{ steps.gitversion.outputs.semVer }}

- name: Generate changelog
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ github.token }}
tag: ${{ steps.gitversion.outputs.semVer }}
excludeTypes: ''

- name: Create release
uses: ncipollo/[email protected]
with:
tag: ${{ steps.gitversion.outputs.semVer }}
token: ${{ github.token }}
name: ${{ steps.gitversion.outputs.semVer }}
body: ${{ steps.changelog.outputs.changes }}
draft: false
prerelease: false

deploy-dev:
name: Deploy dev
environment:
Expand Down