2024-08-26 12:29:38 +00:00
|
|
|
name: Release
|
|
|
|
on:
|
|
|
|
push:
|
2024-08-26 12:33:53 +00:00
|
|
|
branches:
|
|
|
|
- main
|
2024-08-26 12:29:38 +00:00
|
|
|
|
|
|
|
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 }}
|
|
|
|
|