CI: make release workflows fork-friendly#1889
Open
ttw225 wants to merge 3 commits intocommitizen-tools:masterfrom
Open
CI: make release workflows fork-friendly#1889ttw225 wants to merge 3 commits intocommitizen-tools:masterfrom
ttw225 wants to merge 3 commits intocommitizen-tools:masterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1889 +/- ##
=======================================
Coverage 97.99% 97.99%
=======================================
Files 60 60
Lines 2689 2689
=======================================
Hits 2635 2635
Misses 54 54 ☔ View full report in Codecov by Sentry. |
cd4eb7a to
580294f
Compare
bearomorphism
approved these changes
Mar 6, 2026
Collaborator
|
Let's wait for feedback from other maintainers in case anyone has concerns about this change. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR updates several GitHub Actions workflows so that release- and deploy-related jobs only run on the upstream repository:
bumpversion.ymldocspublish.ymlpythonpublish.ymlhomebrewpublish.ymlThis avoids confusing failures on forks (missing secrets, write permissions, external deploy targets), while keeping workflows useful and non-intrusive for new contributors.
Checklist
Was generative AI tooling used to co-author this PR?
Generated-by: [Cursor] following the guidelines
Expected Behavior
Forks do not attempt to:
Upstream commitizen-tools/commitizen continues to run all release and documentation workflows as before.
Steps to Test This Pull Request
Additional Context
Related issue: #1888