add action
Some checks failed
release / Release (push) Failing after 11s

This commit is contained in:
2025-05-06 14:26:14 +02:00
parent 449dbbce49
commit f8e850ede1
2 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
name: release
on:
push:
branches:
- main
- feat/release_actions
permissions:
contents: read
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: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}
run: npx semantic-release --branches main,feat/release_actions --dry-run

View File

@@ -1,3 +1,6 @@
_exclude:
- ".gitea/"
# predefined values
# make sure these have 'when: false' so that the questions are not asked and the items are not saved in answers.yml