Skip to content

ci: Add required permissions and enhance branch deletion with comprehensive debugging - #18

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

ci: Add required permissions and enhance branch deletion with comprehensive debugging#18
marioarce merged 1 commit into
developfrom
feature/fix-cicd-pipeline

Conversation

@marioarce

Copy link
Copy Markdown
Owner
  • Added required permissions (contents: write, pull-requests: write) for branch deletion operations
  • 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

- Added contents: write permission for branch deletion operations
- Added pull-requests: write permission for workflow access
- Ensures GitHub Actions can delete branches after merges
- Required for automated branch cleanup functionality
@marioarce marioarce self-assigned this Jun 2, 2026
@marioarce
marioarce merged commit 9c396b4 into develop Jun 2, 2026
3 checks passed
@github-actions
github-actions Bot deleted the feature/fix-cicd-pipeline branch June 2, 2026 21:39
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