Skip to content

Merge pull request #7 from swisscom/feature/OCERED-7938-LIMA-Action-R… #4

Merge pull request #7 from swisscom/feature/OCERED-7938-LIMA-Action-R…

Merge pull request #7 from swisscom/feature/OCERED-7938-LIMA-Action-R… #4

Workflow file for this run

name: Release
on:
push:
branches:
- main
tags-ignore:
- v[0-9]+.[0-9]+.[0-9]+
jobs:
check:
uses: ./.github/workflows/check.yml
release:
needs:
- check
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}
- name: Create Changelog and Tag
uses: TriPSs/conventional-changelog-action@v5
with:
github-token: ${{ secrets.github_token }}
preset: 'conventionalcommits'
output-file: 'docs/CHANGELOG.md'
skip-version-file: 'true'
- name: Create Release
uses: actions/create-release@v1
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 }}