Skip to content

fix lint issues

Codecov / codecov/patch succeeded Dec 19, 2023 in 1s

73.51% of diff hit (within 10.00% threshold of 76.05%)

View this Pull Request on Codecov

73.51% of diff hit (within 10.00% threshold of 76.05%)

Annotations

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/blocksDeleteOnBranches/impl.go#L34-L35

Added lines #L34 - L35 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/blocksDeleteOnBranches/impl.go#L55

Added line #L55 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/blocksDeleteOnBranches/impl.go#L59-L60

Added lines #L59 - L60 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/blocksForcePushOnBranches/impl.go#L34-L35

Added lines #L34 - L35 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/blocksForcePushOnBranches/impl.go#L54

Added line #L54 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/blocksForcePushOnBranches/impl.go#L58-L59

Added lines #L58 - L59 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/branchProtectionAppliesToAdmins/impl.go#L35-L36

Added lines #L35 - L36 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/branchProtectionAppliesToAdmins/impl.go#L51-L52

Added lines #L51 - L52 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/branchProtectionAppliesToAdmins/impl.go#L55-L56

Added lines #L55 - L56 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/dismissesStaleReviews/impl.go#L35-L36

Added lines #L35 - L36 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/dismissesStaleReviews/impl.go#L50-L51

Added lines #L50 - L51 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/dismissesStaleReviews/impl.go#L54-L55

Added lines #L54 - L55 were not covered by tests

Check warning on line 34 in probes/internal/utils/branchprotection/branchProtection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/internal/utils/branchprotection/branchProtection.go#L34

Added line #L34 was not covered by tests

Check warning on line 46 in probes/internal/utils/branchprotection/branchProtection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/internal/utils/branchprotection/branchProtection.go#L46

Added line #L46 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresApproversForPullRequests/impl.go#L35-L36

Added lines #L35 - L36 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresApproversForPullRequests/impl.go#L50-L51

Added lines #L50 - L51 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresApproversForPullRequests/impl.go#L54-L55

Added lines #L54 - L55 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresCodeOwnersReview/impl.go#L34-L35

Added lines #L34 - L35 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresCodeOwnersReview/impl.go#L62-L63

Added lines #L62 - L63 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresLastPushApproval/impl.go#L35-L36

Added lines #L35 - L36 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresLastPushApproval/impl.go#L51-L52

Added lines #L51 - L52 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresLastPushApproval/impl.go#L55-L56

Added lines #L55 - L56 were not covered by tests

Check warning on line 36 in probes/requiresUpToDateBranches/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresUpToDateBranches/impl.go#L35-L36

Added lines #L35 - L36 were not covered by tests

Check warning on line 52 in probes/requiresUpToDateBranches/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresUpToDateBranches/impl.go#L51-L52

Added lines #L51 - L52 were not covered by tests

Check warning on line 56 in probes/requiresUpToDateBranches/impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

probes/requiresUpToDateBranches/impl.go#L55-L56

Added lines #L55 - L56 were not covered by tests