Skip to content

🌱 Add probes for Branch Protection #1451

🌱 Add probes for Branch Protection

🌱 Add probes for Branch Protection #1451

Triggered via pull request December 8, 2023 17:24
Status Failure
Total duration 3m 38s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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