Add conditional check to prevent attempting to delete the main branch when promoting, as GitHub does not allow deletion of the default branch remotely. This resolves the workflow failure in the 'Promote and delete source' step.
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
- Enhanced die() function with environment context and stack trace
- Added detailed error output with line numbers and file paths
- Improved check_dependencies with installation guides
- Enhanced PHP syntax validation with full error details
- Added verbose error messages to manifest, tabs, and paths validations
- Updated validate_all to show error summaries (full output in verbose mode)
- Updated smoke_test with detailed PHP error reporting
- Updated ENTERPRISE.md with verbose error examples
- All error messages now provide actionable troubleshooting steps
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
- Add timeout handling to PHP syntax validation
- Add execution duration tracking to smoke_test and validate_all
- Create script_health.sh to validate enterprise standards compliance
- Enhance error messages with better context and actionable guidance
- Add log_duration helper function to common.sh
- Update ENTERPRISE.md and README.md with new features
- All scripts now follow complete enterprise standards
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
The repo health workflow previously required at least one dev/* branch
to exist, which is too strict after the plain 'dev' branch was deleted.
This change removes that requirement while keeping the validation that
prohibits plain 'dev' branches. The workflow now:
- Allows dev/* branches (e.g., dev/01.00.00)
- Prohibits plain 'dev' branches
- Does not require any dev/* branch to exist
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
- Add version component validation in versions.sh
- Add verbose mode to validate_all.sh for debugging
- Update documentation with verbose mode usage
- Improve error messages with hints to use verbose mode
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
- Create validate_all.sh to run all validation checks
- Provide clear summary with pass/fail counts
- Update scripts/README.md with validate_all documentation
- Fix logging.sh path resolution for sourcing
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
- Create scripts/README.md with detailed documentation
- Document all script categories and their usage
- Add examples and best practices
- Include CI integration information
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>