Update branch protection rules (optional step).
(self)
| 302 | return False |
| 303 | |
| 304 | def _update_branch_protection(self) -> bool: |
| 305 | """Update branch protection rules (optional step).""" |
| 306 | try: |
| 307 | print(" [INFO] Branch protection rules need to be updated manually") |
| 308 | print(" [TODO] Update required status checks from:") |
| 309 | print(" - Legacy: CI / test-matrix, Release / version-check, etc.") |
| 310 | print(" - Modular: 01 - Validation / validation, 02 - Testing / test-summary, etc.") |
| 311 | |
| 312 | # This step requires manual intervention or GitHub API access |
| 313 | # For now, we'll mark it as completed with instructions |
| 314 | return True |
| 315 | |
| 316 | except Exception as e: |
| 317 | self.steps[4].error = str(e) |
| 318 | return False |
| 319 | |
| 320 | def _disable_legacy_workflows(self) -> bool: |
| 321 | """Disable legacy workflows by renaming them.""" |