ci: add release pipeline #14

Merged
t.behrendt merged 3 commits from ci-add-release-pipeline into main 2025-05-20 20:20:49 +02:00
2 changed files with 31 additions and 0 deletions

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

@@ -0,0 +1,30 @@
name: CI & Release
on:
push:
branches:
- main
jobs:
ci:
uses: ./.gitea/workflows/ci.yaml
release:
needs: tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm install -g standard-version
- run: |
git config --global user.name "Release Bot"
git config --global user.email "release-bot@t00n.de"
- run: |
standard-version --no-verify --skip-changelog
git push --follow-tags origin main
env:
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}

View File

@@ -4,6 +4,7 @@ on:
push: push:
branches-ignore: branches-ignore:
- main - main
workflow_call:
jobs: jobs:
test: test: