Skip to content

Add Fix-BranchRuleset.ps1 and update Setup-BranchRuleset.ps1#111

Merged
Chris-Wolfgang merged 1 commit intomainfrom
feature/fix-branch-ruleset-scripts
Mar 26, 2026
Merged

Add Fix-BranchRuleset.ps1 and update Setup-BranchRuleset.ps1#111
Chris-Wolfgang merged 1 commit intomainfrom
feature/fix-branch-ruleset-scripts

Conversation

@Chris-Wolfgang
Copy link
Copy Markdown
Owner

Summary

  • Add Fix-BranchRuleset.ps1: inspects existing rulesets, disables them, and renames any "Protect main branch" ruleset to allow clean recreation
  • Update Setup-BranchRuleset.ps1 to match current repo-template with correct repository name and status check names

Test plan

  • Run Fix-BranchRuleset.ps1 and verify it lists planned changes before prompting
  • Run Setup-BranchRuleset.ps1 and verify it creates the ruleset with correct status check names

🤖 Generated with Claude Code

- Add Fix-BranchRuleset.ps1: inspects, disables, and renames existing
  rulesets so Setup-BranchRuleset.ps1 can recreate them cleanly
- Update Setup-BranchRuleset.ps1 to match current repo-template with
  correct repository name and status check names

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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