Files
validate-json-by-json-schem…/.gitea/workflows/cd.yaml
Timo Behrendt bf1fc84c5b ci: add force release and only run on relevant changes (#16)
Reviewed-on: #16
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
2026-02-12 20:04:55 +01:00

27 lines
719 B
YAML

name: CD
on:
push:
branches:
- main
paths:
- action.yml
workflow_dispatch:
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Increment tag
id: tag
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@68d642a9f68c4c00b6809126707aceca432c5e75 # 0.1.25
with:
token: ${{ secrets.GITEA_TOKEN }}
- uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@72551407e761ecdad9bfd421513a1f3b6f252234 # 0.1.2
with:
tag: ${{ steps.tag.outputs.new-tag }}