Improves branch management in workflows#181
Merged
Merged
Conversation
Resolves Docker container file ownership issues that cause git permission errors when the container creates files with different ownership than the GitHub Actions runner. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
- Add explicit branch patterns to ensure workflow triggers on develop/bridge-tests - Add workflow_dispatch with debug input for manual testing - This should resolve the issue where workflow wasn't triggering on pushes 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
The release operations composite action defaults to 'main' branch but the test environment uses 'test-release' branch. Added target_branch parameter to use the correct existing branch. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
The composite action has its own checkout step that resets repository state, losing the test-release branch. Changed target_branch to develop/bridge-tests which exists after the composite action's checkout. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Instead of hardcoding target branches, the action now: - Uses current branch when target_branch doesn't exist - Falls back to common branches (main, master, develop, staging) - Uses remote branches as last resort - Provides clear error messages with available branches This makes the action work in any repository context automatically. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Added logic to detect existing release branches and recreate them for testing: - Checks for local and remote branch existence - Deletes existing branches before recreating - Uses force push to overwrite remote test branches - Prevents 'non-fast-forward' push errors in test environments 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
This was referenced Jun 7, 2025
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Merged
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.
Enhances release operations with intelligent branch detection:
Improves commit operations workflow by adding:
These changes ensure better automation and reliability in managing branches across different workflows.