Compare commits

...

2 Commits

Author SHA1 Message Date
ab9598950a
build: add release configuration for semantic release
Some checks are pending
Release / Release (push) Waiting to run
2025-02-12 10:47:23 +01:00
f31a959ec5
build: add Gitea release workflow configuration 2025-02-12 10:45:42 +01:00
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,25 @@
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 }}

15
release.config.cjs Normal file
View File

@ -0,0 +1,15 @@
module.exports = {
branches: ['main'],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/changelog',
["@saithodev/semantic-release-gitea", {
"giteaUrl": "https://git.simonis.lol"
}],
],
};