You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix golangci-lint v2 config; emit govulncheck findings as CI annotations
- Fix .golangci.yml: move G204 exclusion to linters.settings.gosec.excludes
(v2 schema dropped issues.exclude-rules in favour of per-linter settings)
- Remove now-redundant //nolint:gosec G204 annotations across all call sites
- govulncheck: parse JSON output and emit ::warning annotations so findings
appear inline in the GitHub Actions UI and PR diff view
env, err:=exec.Command("cf", "curl", fmt.Sprintf("/v3/apps/%s/env", strings.Trim(string(guid), "\n"))).Output()//nolint:gosec // "cf" is hardcoded; GUID is from CF API output
output, err:=exec.Command("cf", "curl", "/v3/apps/"+strings.TrimSuffix(string(guid), "\n")+"/ssh_enabled").Output()//nolint:gosec // "cf" is hardcoded; GUID is from CF API output
0 commit comments