From 0f41261e7b44e8983ab45c452530a069eefbbfed Mon Sep 17 00:00:00 2001 From: Toby Jennings Date: Fri, 10 Jan 2025 13:04:48 -0600 Subject: [PATCH] bugfix: wip PSR --- .github/workflows/release.yaml | 7 +++++-- pyproject.toml | 1 - 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0b19592..2b74d81 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,6 +10,8 @@ env: PYTHON_VERSION: "3.12" UV_PYTHON_PREFERENCE: "system" BUILDKIT_PROGRESS: "plain" + GIT_USERNAME: "github_actions[bot]" + GIT_USEREMAIL: "41898282+github_actions[bot]@users.noreply.github.com" "on": pull_request: @@ -46,9 +48,10 @@ jobs: id: release uses: python-semantic-release/python-semantic-release@v9.15.2 with: + root_options: "-vv" github_token: ${{ secrets.GITHUB_TOKEN }} - git_committer_name: "github_actions[bot]" - git_committer_email: "41898282+github_actions[bot]@users.noreply.github.com" + git_committer_name: ${{ env.GIT_USERNAME}} + git_committer_email: ${{ env.GIT_USEREMAIL}} force: patch build: false changelog: false diff --git a/pyproject.toml b/pyproject.toml index 0b379d8..0247470 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -119,7 +119,6 @@ skip_fragments = "_template.md.jinja" [tool.semantic_release] version_variables = ["src/tobyjdemoapp/__init__.py:__version__"] -commit_author = {env = "GIT_COMMIT_AUTHOR"} tag_format = "{version}" [tool.semantic_release.branches.main]