Skip to content

fix(ops): normalize branch protection payload restore path#8

Merged
svelderrainruiz merged 1 commit into
mainfrom
fix/force-align-protection-restore-payload
Feb 26, 2026
Merged

fix(ops): normalize branch protection payload restore path#8
svelderrainruiz merged 1 commit into
mainfrom
fix/force-align-protection-restore-payload

Conversation

@svelderrainruiz
Copy link
Copy Markdown
Contributor

Summary

  • fix Invoke-ControlledForkForceAlign.ps1 restore behavior by converting GET protection payload to valid PUT schema
  • handle optional/missing branch-protection properties safely under strict mode
  • emit �ranch-protection.restore.json artifact for auditable restore input

Validation

  • Invoke-ControlledForkForceAlign.ps1 -DryRun succeeds
  • Invoke-Pester -Path ./tests -CI (24/24 passed)

@svelderrainruiz svelderrainruiz merged commit 06fa747 into main Feb 26, 2026
3 checks passed
@svelderrainruiz svelderrainruiz deleted the fix/force-align-protection-restore-payload branch February 26, 2026 23:11
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