fix: remove unnecessary comments
Build and Publish / release (push) Skipped
CI / lint (push) Successful in 18s
CI / test (3.11) (push) Successful in 24s
CI / test (3.13) (push) Successful in 22s
CI / test (3.12) (push) Successful in 24s

This commit is contained in:
2026-07-02 17:19:59 +02:00
parent 91166de646
commit 76c1c7c746
+2 -15
View File
@@ -16,12 +16,6 @@ jobs:
permissions:
contents: write
steps:
# Note: We checkout the repository at the branch that triggered the workflow
# with the entire history to ensure to match PSR's release branch detection
# and history evaluation.
# However, we forcefully reset the branch to the workflow sha because it is
# possible that the branch was updated while the workflow was running. This
# prevents accidentally releasing un-evaluated changes.
- name: Setup | Checkout Repository on Release Branch
uses: actions/checkout@v6
with:
@@ -37,13 +31,6 @@ jobs:
run: |
git reset --hard ${{ github.sha }}
- name: Evaluate | Verify upstream has NOT changed
# Last chance to abort before causing an error as another PR/push was applied to
# the upstream branch while this workflow was running. This is important
# because we are committing a version change (--commit). You may omit this step
# if you have 'commit: false' in your configuration.
#
# You may consider moving this to a repo script and call it from this step instead
# of writing it in-line.
shell: bash
run: |
set +o pipefail
@@ -78,8 +65,8 @@ jobs:
- name: Semantic Version Release
id: release_step
env:
TWINE_USERNAME: "__token__" # Username for Twine when using token-based auth
TWINE_PASSWORD: ${{ secrets.PIP_REPOSITORY_API_TOKEN }} # Use the secret for authentication
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PIP_REPOSITORY_API_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pip install python-semantic-release==9.* wheel build twine