diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 1bc8427..6a01f01 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -50,6 +50,7 @@ jobs: - uses: actions/checkout@v7 with: fetch-depth: 0 # Shallow clones should be disabled for semantic-release to function correctly + ssh-key: ${{ secrets.RELEASE_DEPLOY_KEY }} - name: Install UV uses: astral-sh/setup-uv@v8.2.0 diff --git a/pyproject.toml b/pyproject.toml index 7c97440..d4b1668 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,8 +75,14 @@ build_command = """ uv build """ +[tool.semantic_release.changelog] +exclude_commit_patterns = [ + '''^(?:build|chore|ci|docs|refactor|style|test)(?:\([^)]*?\))?: .+''', +] + [tool.semantic_release.remote] type = "github" +ignore_token_for_push = true [tool.semantic_release.publish] dist_glob_patterns = ["dist/*"]