feat: add release-git-tag #3

Merged
t.behrendt merged 6 commits from feat-release-git-tag into main 2025-10-13 20:44:18 +02:00
2 changed files with 39 additions and 0 deletions
Showing only changes of commit daf752884e - Show all commits

25
.gitea/workflows/cd.yaml Normal file
View File

@@ -0,0 +1,25 @@
name: CD
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- run: npm ci
- name: Increment tag
id: tag
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.1.2
with:
token: ${{ secrets.GITEA_TOKEN }}
- name: Push tag
run: |
git tag ${{ steps.tag.outputs.new-tag }}
git push origin ${{ steps.tag.outputs.new-tag }}

14
.gitea/workflows/ci.yaml Normal file
View File

@@ -0,0 +1,14 @@
name: CI
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v6
with:
go-version: 1.25.1
- run: go install github.com/rhysd/actionlint/cmd/actionlint@latest
- run: actionlint