Skip to content

fix: second release - test #3

fix: second release - test

fix: second release - test #3

Workflow file for this run

name: Semantic Release
# Runs semantic-release when a maintainer pushes to a release/x.y branch.
# semantic-release analyses commits since the last tag, bumps the version,
# updates CHANGELOG.md + pyproject.toml, commits them, and pushes a vX.Y.Z tag.
# That tag push then triggers the publish.yml PyPI workflow.
#
# Required secrets: GH_TOKEN (PAT with contents: write)
on:
push:
branches:
- 'release/[0-9]+.x'
- 'release/[0-9]+.[0-9]+.x'
paths:
- 'floci/**'
- 'tests/**'
- 'pyproject.toml'
- '.releaserc.json'
- '.github/workflows/semver.yml'
permissions:
contents: write
jobs:
release:
name: Semantic Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
persist-credentials: true
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install tomli-w (for version bump)
run: pip install tomli-w
- name: Run semantic-release
uses: cycjimmy/semantic-release-action@v4
with:
extra_plugins: |
@semantic-release/changelog
@semantic-release/git
@semantic-release/exec
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}