🌱 Add probes for Branch Protection #1451
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
7 errors
check-linter:
probes/internal/utils/branchProtection/branchProtection.go#L26
ifElseChain: rewrite if-else to switch statement (gocritic)
|
check-linter:
probes/internal/utils/branchProtection/branchProtection.go#L37
ifElseChain: rewrite if-else to switch statement (gocritic)
|
check-linter:
probes/requiresUpToDateBranches/impl.go#L43
line is 122 characters (lll)
|
check-linter:
probes/branchProtectionAppliesToAdmins/impl.go#L43
line is 122 characters (lll)
|
check-linter:
probes/requiresLastPushApproval/impl.go#L43
line is 124 characters (lll)
|
check-linter:
probes/internal/utils/branchProtection/branchProtection.go#L15
ST1003: should not use MixedCaps in package name; branchProtection should be branchprotection (stylecheck)
|
check-linter
issues found
|