Skip to content

Conversation

@codejedi365
Copy link
Contributor

Purpose

Rationale

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.


PR Completion Checklist

  • Reviewed & followed the Contributor Guidelines

  • Changes Implemented & Validation pipeline succeeds

  • Commits follow the Conventional Commits standard
    and are separated into the proper commit type and scope (recommended order: test, build, feat/fix, docs)

  • N/A Appropriate Unit tests added/updated

  • N/A Appropriate End-to-End tests added/updated

  • N/A Appropriate Documentation added/updated and syntax validated for sphinx build (see Contributor Guidelines)

…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 merged commit 4df4be4 into python-semantic-release:master Sep 6, 2025
9 checks passed
@codejedi365 codejedi365 deleted the fix/github-actions-output-non-github-error branch September 6, 2025 15:55
@codejedi365
Copy link
Contributor Author

🎉 This PR has been published as part of v10.3.2 🎉

You can find more information about this release on the GitHub Releases page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Getting "Insecure connections are currently disabled" in self hosted Gitea

1 participant