ci: Optimize branch name extraction with commit title parsing and enhanced debugging - #17
Merged
Merged
Conversation
marioarce
commented
Jun 2, 2026
Owner
- Simplified feature branch deletion trigger to only use push events to develop branch
- Optimized branch name extraction to use commit title only instead of full commit message
- Added comprehensive debugging logging for troubleshooting branch deletion issues
- Enhanced branch name extraction with detailed pattern testing and logging
- Added step-by-step pattern matching with numbered debug output and JSON serialization
- Implemented validation checks to ensure only feature/ branches are deleted
- Enhanced error handling with specific error messages for feature branch operations
- Added detailed event logging including commit title extraction and processing
- Improved push event handling with multiple regex pattern matching and validation
- Simplified workflow logic while maintaining robust validation and error handling
- Added pattern-by-pattern testing with match result logging for better troubleshooting
- Optimized commit message parsing to focus on title line for more accurate pattern matching
- Modified branch name extraction to use only commit title (first line) - Added commit title logging for better debugging visibility - Updated pattern testing to focus on commit title instead of full message - Improved regex matching accuracy by excluding commit body content - Enhanced debugging output for commit title analysis
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.