Skip to content

Semantic Release

Semantic Release #8

name: Semantic Release
on: workflow_dispatch
jobs:
semantic-release:
runs-on: ubuntu-latest
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
contents: write # IMPORTANT: mandatory for making GitHub Releases
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Python Semantic Release
id: release
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
changelog: true
build: false # build is too complex to be handled by semantic release
config_file: releaserc.toml