feat(cog)!: update how releases are handled

This commit is contained in:
2024-11-21 22:12:08 +02:00
parent 92214a729e
commit 6daafc6841
3 changed files with 35 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
name: Cog Check
on:
pull_request:
workflow_call:
jobs:
release:
name: Create release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Semver release
uses: cocogitto/cocogitto-action@v3
with:
check-latest-tag-only: true

View File

@@ -1,5 +1,8 @@
name: Release
name: Cog Release
on:
push:
branches:
- main
workflow_call:
jobs:
@@ -25,7 +28,6 @@ jobs:
release: true
git-user: "gitea-bot"
git-user-email: "bot@git.palkoi.net"
check-latest-tag-only: true
- name: Generate Changelog
run: cog changelog --at ${{ steps.release.outputs.version }} -t full_hash > GITHUB_CHANGELOG.md