build: add Gitea workflow for release automation
Some checks failed
Release / Release (push) Has been cancelled

This commit is contained in:
Jan Gleytenhoover 2024-08-28 07:48:56 +02:00
parent a7e778347d
commit 28edcb2255
Signed by: jank
GPG Key ID: B267751B8AE29EFE

@ -0,0 +1,26 @@
name: Release
on:
push:
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
permissions:
contents: read # for checkout
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Create Release
uses: https://git.kjan.de/actions/semantic-release@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}