Feature/GitHub releases documentation#11
Merged
securebitsorg merged 2 commits intomainfrom Sep 8, 2025
Merged
Conversation
added 2 commits
September 8, 2025 06:51
- Document that branch protection errors are expected and correct - Explain why direct pushes to main are blocked (security feature) - Provide multiple solution options for release workflow - Recommend workflow adjustments over disabling protection - Clarify that this is a success, not a failure
…nch protection - Remove git push origin main from auto-release-on-push workflow - Keep only tag push (git push origin v$NEW_VERSION) which is allowed - Add documentation explaining the fix and why it's better - Ensure workflow respects branch protection rules while maintaining functionality - Tags can be pushed independently without touching main branch - GitHub Releases are created from tags, not main branch commits
There was a problem hiding this comment.
This PR is being reviewed by Cursor Bugbot
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, please upgrade to Bugbot Pro by visiting the Cursor dashboard. Your first 14 days will be free!
| # Tag erstellen und pushen (ohne main-Branch zu berühren) | ||
| git tag -a "v$NEW_VERSION" -m "Automatic release v$NEW_VERSION" | ||
| git push origin main | ||
| echo "Pushing tag v$NEW_VERSION (no main branch push needed)" |
There was a problem hiding this comment.
Bug: Version File Updates Not Pushed to Main
The workflow commits version file updates (VERSION, __version__.py, pyproject.toml) locally but no longer pushes these changes to the main branch. This leaves main's version files outdated, which can lead to incorrect future version calculations. It also creates an inconsistent state where the release tag references a commit not present on the remote main branch.
Additional Locations (1)
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.
No description provided.