ci: introduce semver (#7)

Reviewed-on: #7
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
This commit was merged in pull request #7.
This commit is contained in:
2025-12-04 17:12:07 +01:00
committed by t.behrendt
parent 9ee7ae229b
commit f9e00ffda3

View File

@@ -0,0 +1,27 @@
name: Release
on:
push:
branches:
- main
paths:
- "./gitea/workflows/cd.yaml"
- "./gitea/workflows/ci.yaml"
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
with:
fetch-depth: 0
- name: Increment tag
id: tag
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.1.15
with:
token: ${{ secrets.GITEA_TOKEN }}
- name: Push tag
uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@0.0.3
with:
tag: ${{ steps.tag.outputs.new-tag }}