semantic-release/.gitea/workflows/release.yaml
Jan Klattenhoff 2d9b0641aa
All checks were successful
Release / Release (push) Successful in 46s
feat: add release workflow and configuration files
2024-08-26 14:29:38 +02:00

27 lines
689 B
YAML

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 }}