Skip to content

:seedling: Add branch protection evaluation

Codecov / codecov/patch succeeded Dec 29, 2023 in 0s

75.58% of diff hit (within 10.00% threshold of 76.02%)

View this Pull Request on Codecov

75.58% of diff hit (within 10.00% threshold of 76.02%)

Annotations

Check warning on line 53 in checks/branch_protection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

checks/branch_protection.go#L52-L53

Added lines #L52 - L53 were not covered by tests

Check warning on line 92 in checks/evaluation/branch_protection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

checks/evaluation/branch_protection.go#L90-L92

Added lines #L90 - L92 were not covered by tests

Check warning on line 116 in checks/evaluation/branch_protection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

checks/evaluation/branch_protection.go#L116

Added line #L116 was not covered by tests

Check warning on line 119 in checks/evaluation/branch_protection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

checks/evaluation/branch_protection.go#L118-L119

Added lines #L118 - L119 were not covered by tests

Check warning on line 123 in checks/evaluation/branch_protection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

checks/evaluation/branch_protection.go#L121-L123

Added lines #L121 - L123 were not covered by tests

Check warning on line 230 in checks/evaluation/branch_protection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

checks/evaluation/branch_protection.go#L230

Added line #L230 was not covered by tests

Check warning on line 405 in checks/evaluation/branch_protection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

checks/evaluation/branch_protection.go#L405

Added line #L405 was not covered by tests

Check warning on line 44 in probes/blocksDeleteOnBranches/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/blocksDeleteOnBranches/impl.go#L43-L44

Added lines #L43 - L44 were not covered by tests

Check warning on line 58 in probes/blocksDeleteOnBranches/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/blocksDeleteOnBranches/impl.go#L57-L58

Added lines #L57 - L58 were not covered by tests

Check warning on line 44 in probes/blocksForcePushOnBranches/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/blocksForcePushOnBranches/impl.go#L43-L44

Added lines #L43 - L44 were not covered by tests

Check warning on line 58 in probes/blocksForcePushOnBranches/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/blocksForcePushOnBranches/impl.go#L57-L58

Added lines #L57 - L58 were not covered by tests

Check warning on line 45 in probes/branchProtectionAppliesToAdmins/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/branchProtectionAppliesToAdmins/impl.go#L44-L45

Added lines #L44 - L45 were not covered by tests

Check warning on line 59 in probes/branchProtectionAppliesToAdmins/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/branchProtectionAppliesToAdmins/impl.go#L58-L59

Added lines #L58 - L59 were not covered by tests

Check warning on line 45 in probes/dismissesStaleReviews/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/dismissesStaleReviews/impl.go#L44-L45

Added lines #L44 - L45 were not covered by tests

Check warning on line 59 in probes/dismissesStaleReviews/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/dismissesStaleReviews/impl.go#L58-L59

Added lines #L58 - L59 were not covered by tests

Check warning on line 47 in probes/requiresApproversForPullRequests/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresApproversForPullRequests/impl.go#L46-L47

Added lines #L46 - L47 were not covered by tests

Check warning on line 61 in probes/requiresApproversForPullRequests/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresApproversForPullRequests/impl.go#L60-L61

Added lines #L60 - L61 were not covered by tests

Check warning on line 44 in probes/requiresCodeOwnersReview/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresCodeOwnersReview/impl.go#L43-L44

Added lines #L43 - L44 were not covered by tests

Check warning on line 55 in probes/requiresCodeOwnersReview/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresCodeOwnersReview/impl.go#L50-L55

Added lines #L50 - L55 were not covered by tests

Check warning on line 67 in probes/requiresCodeOwnersReview/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresCodeOwnersReview/impl.go#L66-L67

Added lines #L66 - L67 were not covered by tests

Check warning on line 45 in probes/requiresLastPushApproval/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresLastPushApproval/impl.go#L44-L45

Added lines #L44 - L45 were not covered by tests

Check warning on line 59 in probes/requiresLastPushApproval/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresLastPushApproval/impl.go#L58-L59

Added lines #L58 - L59 were not covered by tests

Check warning on line 38 in probes/requiresPRsToChangeCode/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresPRsToChangeCode/impl.go#L37-L38

Added lines #L37 - L38 were not covered by tests

Check warning on line 47 in probes/requiresPRsToChangeCode/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresPRsToChangeCode/impl.go#L46-L47

Added lines #L46 - L47 were not covered by tests

Check warning on line 61 in probes/requiresPRsToChangeCode/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresPRsToChangeCode/impl.go#L60-L61

Added lines #L60 - L61 were not covered by tests