fix(cmd-version): prevent errors when PSR is executed in non-GitHub CI environments by codejedi365 · Pull Request #1322 · python-semantic-release/python-semantic-release

@codejedi365

…I environments

NOTICE: Unfortunately, PSR introduced a bug in 10.3.0 when attempting to provide more CI
outputs for GitHub Actions. It required our GitHub client interface to be loaded and
even if it was not using GitHub CI to be run. This caused errors in Gitea and likely
GitLab/Bitbucket environments. This change prevents that from happening but if any
users pipelines were intentionally presenting the environment variable "GITHUB_OUTPUT"
to enable action output to enable passing along internal outputs of PSR then their
hack will no longer work after this change.

Resolves: python-semantic-release#1315

@codejedi365 codejedi365 deleted the fix/github-actions-output-non-github-error branch

September 6, 2025 15:55