Skip to content

Run the one-time setup scripts locally (admin + gh) — includes the 1-min merge-queue wait #17

Description

@DenWin

Follow-up from PR #16. The two setup/ scripts could not be executed from the remote session that authored the PR: they require the GitHub CLI authenticated with admin on the repo, and that environment has no gh and no API route for rulesets/security settings (both scripts exit 1 at their fail-fast guard, as designed).

Remaining work (run locally, after #16 merges)

pwsh -NoProfile -File setup/Protect-MainBranch.ps1
pwsh -NoProfile -File setup/Enable-RepoSecurity.ps1

Acceptance

  • main-protection ruleset active on the default branch with merge-queue wait = 1 min
  • Server-side security settings enabled (secret scanning + push protection, Dependabot alerts/fixes, private vulnerability reporting, read-only workflow token)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions