This repository is the central home for shared automation, governance, and rollout tracking across the mod-posh GitHub organization.
- Reusable GitHub Actions workflows
- Repository standards and governance docs
- Audit scripts that inventory repo readiness
- Generated reports for adoption tracking
This repo exists to make the org more consistent and easier to maintain.
Primary goals:
- Standardize pull request validation across repositories
- Standardize Dependabot handling and auto-merge policy
- Inventory repositories for missing tests, missing workflows, and missing Dependabot configuration
- Provide one place for documentation and rollout tracking
Today the org includes both:
- .NET repositories with restore/build/test workflows
- PowerShell repositories with Pester test suites
This repo provides reusable workflows for both patterns.
Each active repository should eventually have:
- a PR validation workflow
- tests appropriate to the repo type
- a Dependabot configuration
- branch protection on
main - required status checks enabled
- auto-merge only where validation is trustworthy
See:
docs/standards/repo-standard.mddocs/standards/dependabot-policy.mddocs/standards/branch-protection.md
Generated inventory and readiness reports are stored under:
reports/latest/repo-inventory.jsonreports/latest/repo-inventory.md
.github/workflows/reusable-dotnet-pr-validation.yml.github/workflows/reusable-powershell-pr-validation.yml.github/workflows/reusable-dependabot-auto-merge.yml
- Audit current repositories
- Standardize PR validation
- Backfill tests where missing
- Enable Dependabot consistently
- Enable Dependabot auto-merge only for repos that meet the standard