File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,10 +171,19 @@ jobs:
171171 BRANCH : ${{ github.head_ref || github.ref_name }}
172172 run : git switch -C "$BRANCH"
173173
174+ - uses : astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
175+
176+ # Run semantic-release directly instead of through its action: the
177+ # action resolves its dependencies when the runner builds its image,
178+ # so it picks up GitPython >= 3.1.60, which dropped
179+ # Actor.name_email_regex and breaks every semantic-release command
180+ # (python-semantic-release#1476). Nothing the action exposes can
181+ # constrain that; pinning here can. Drop once upstream releases a fix.
174182 - name : Test release
175- uses : python-semantic-release/python-semantic-release@350c48fcb3ffcdfd2e0a235206bc2ecea6b69df0 # v10.5.3
176- with :
177- no_operation_mode : true
183+ run : >
184+ uvx --from 'python-semantic-release==10.5.3'
185+ --with 'gitpython<3.1.60'
186+ semantic-release -v --noop version
178187
179188 # Real release, only on master. The release environment and write/OIDC
180189 # permissions are scoped to this job so they never apply to PR runs.
You can’t perform that action at this time.
0 commit comments