Skip to content

Sync Setup-BranchRuleset.ps1 with repo-template#132

Merged
Chris-Wolfgang merged 2 commits into
mainfrom
chore/sync-setup-branchruleset
Apr 15, 2026
Merged

Sync Setup-BranchRuleset.ps1 with repo-template#132
Chris-Wolfgang merged 2 commits into
mainfrom
chore/sync-setup-branchruleset

Conversation

@Chris-Wolfgang
Copy link
Copy Markdown
Owner

Summary

Sync with repo-template#310:

  • Fix stage names to match pr.yaml v3 (Stage 2/3 not 2a/2b/3)
  • Remove CodeQL from required_status_checks (already covered by code_scanning rule)

🤖 Generated with Claude Code

Fix stage names to match pr.yaml v3 and remove CodeQL from
required_status_checks (handled by code_scanning rule).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 15, 2026 00:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Synchronizes scripts/Setup-BranchRuleset.ps1 with the repo-template behavior, primarily aligning required status check context names with the current pr.yaml workflow naming and updating what the script configures via the rulesets API.

Changes:

  • Updates required status check contexts to use “Stage 1/2/3” naming (matching pr.yaml v3).
  • Removes CodeQL from required_status_checks and removes API payload sections related to CodeQL code_scanning / Copilot code review (leaving manual enablement notes).
  • Switches the default -Repository value to template placeholders and adjusts auto-detection logic accordingly.

Comment thread scripts/Setup-BranchRuleset.ps1
Comment thread scripts/Setup-BranchRuleset.ps1
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Chris-Wolfgang Chris-Wolfgang merged commit 1c86302 into main Apr 15, 2026
9 checks passed
@Chris-Wolfgang Chris-Wolfgang deleted the chore/sync-setup-branchruleset branch April 15, 2026 01:29
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.

2 participants