gabrie30 32febf75e2
Add --protect-local to skip dirty repos (#633)
* Add --protect-local to skip dirty repos

Introduce a --protect-local flag (GHORG_PROTECT_LOCAL) to skip updating repositories that have uncommitted changes or unpushed commits. Adds detection logic (hasLocalChanges) and tracks protected repos/stats (ProtectedCount, protectedRepos), updates status output/printing to include protected counts, and registers the flag in root command and sample-conf.yaml. Includes changelog entry and a suite of tests exercising dirty, unpushed, clean, backup/no-clean bypass, and new-repo behavior.

* Bump GitHub Actions Go to 1.25.0
2026-03-21 08:22:56 -07:00
..
2022-08-10 14:22:01 -07:00
2022-08-29 20:58:44 -07:00