ljharb / repo-report

CLI to list all repos a user has access to, and report on their configuration in aggregate.
MIT License
24 stars 11 forks source link

Clarifying the sub fields needed for the branch protection on a default branch #8

Closed jakazzy closed 3 years ago

jakazzy commented 3 years ago

@ljharb I currently added the command to get the branch protection rule for a default branch. I wanted to clarify all the subfields that I could include for the branch protection for the default branch. I just added these to test but will be updating it after the clarification

allowsForcePushes,
allowsDeletions,
dismissesStaleReviews,
requiredApprovingReviewCount,
requiresApprovingReviews,
requiresCodeOwnerReviews,
pattern

updatebranchprotectionrules

ljharb commented 3 years ago

All of these sound great - eventually I’ll want to know about everything that deviates from a configured default, so it’s great to have maximal info.

jakazzy commented 3 years ago

Sure thank you