Compare commits
2 Commits
2cd1c6d8fd
...
ab9598950a
Author | SHA1 | Date | |
---|---|---|---|
ab9598950a | |||
f31a959ec5 |
25
.gitea/workflows/release.yml
Normal file
25
.gitea/workflows/release.yml
Normal 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
15
release.config.cjs
Normal 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"
|
||||
}],
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user