This repository contains PowerShell Scripts that can be used to maintain your IT Infrastructure.
Site contains GitHub Pages - https://scripts.lukeleigh.com/
Please visit the website for more information regarding the scripts and their uses.
This repo keeps prod protected against inadvertent force pushes or deletions.
Reapply or adjust with:
./scripts/apply_branch_protection.shOptional toggles:
STATUS_CONTEXT="ci / ci" STRICT_STATUS=1 ./scripts/apply_branch_protection.sh
REVIEW_COUNT=1 ./scripts/apply_branch_protection.shSee docs/branch-protection.md for the full policy and tuning tips.