Skip to content

ci: Enhance branch deletion with dual event support and improved validation - #12

Merged
marioarce merged 1 commit into
developfrom
feature/fix-cicd-pipeline
Jun 2, 2026
Merged

ci: Enhance branch deletion with dual event support and improved validation#12
marioarce merged 1 commit into
developfrom
feature/fix-cicd-pipeline

Conversation

@marioarce

Copy link
Copy Markdown
Owner
  • Added push event support for automatic branch deletion workflows alongside PR events
  • Enhanced feature branch deletion to handle both pull_request and push events
  • Enhanced release branch deletion to handle both pull_request and push events
  • Added intelligent branch name extraction from merge commit messages
  • Implemented strict validation to ensure only feature/ and release/ branches are deleted
  • Added comprehensive error handling and logging for branch name determination
  • Simplified branch deletion logic with improved safety checks
  • Enhanced workflow triggers to support both PR closures and direct merges
  • Added proper branch type validation to prevent accidental deletions

- Simplified branch name extraction from merge commit messages
- Added feature branch validation to only delete branches starting with "feature/"
- Improved logging messages for better debugging
- Removed complex regex parsing in favor of simpler approach
- Enhanced error handling and console output clarity
@marioarce marioarce self-assigned this Jun 2, 2026
@marioarce
marioarce merged commit 95fd742 into develop Jun 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant