Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(cmd-version): prevent errors when PSR is executed in non-GitHub CI environments#1322

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

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 theContributor Guidelines

  • Changes Implemented & Validation pipeline succeeds

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

  • N/AAppropriate Unit tests added/updated

  • N/AAppropriate End-to-End tests added/updated

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

…I environmentsNOTICE: Unfortunately, PSR introduced a bug in 10.3.0 when attempting to provide more CIoutputs for GitHub Actions. It required our GitHub client interface to be loaded andeven if it was not using GitHub CI to be run. This caused errors in Gitea and likelyGitLab/Bitbucket environments. This change prevents that from happening but if anyusers pipelines were intentionally presenting the environment variable "GITHUB_OUTPUT"to enable action output to enable passing along internal outputs of PSR then theirhack will no longer work after this change.Resolves:python-semantic-release#1315
@codejedi365codejedi365 merged commit4df4be4 intopython-semantic-release:masterSep 6, 2025
9 checks passed
@codejedi365codejedi365 deleted the fix/github-actions-output-non-github-error branchSeptember 6, 2025 15:55
@codejedi365
Copy link
ContributorAuthor

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

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

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

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

1 participant

@codejedi365

[8]ページ先頭

©2009-2025 Movatter.jp