Skip to content

Make checksecretparts required in CI#4921

Merged
mcastorina merged 1 commit into
mainfrom
enable-checksecretparts-ci
Apr 24, 2026
Merged

Make checksecretparts required in CI#4921
mcastorina merged 1 commit into
mainfrom
enable-checksecretparts-ci

Conversation

@mcastorina

@mcastorina mcastorina commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

Description:

Enforces a lint check to ensure SecretParts is populated on all detectors.
Related: #4913

Checklist:

  • Tests passing (make test-community)?
  • Lint passing (make lint this requires golangci-lint)?

Note

Medium Risk
CI now hard-fails when any detector constructs detectors.Result without populating SecretParts, which can newly block merges until detectors are compliant. The change is limited to GitHub Actions configuration but affects the repo’s merge gate.

Overview
Makes the checksecretparts CI job gating by removing the previous warning-only behavior and running it with -fail, so PRs fail when detector packages don’t populate SecretParts on detectors.Result.

Also updates the job’s comment/name to reflect that it is no longer best-effort.

Reviewed by Cursor Bugbot for commit 0e48729. Bugbot is set up for automated code reviews on this repo. Configure here.

@mcastorina mcastorina requested a review from a team April 24, 2026 15:50
@mcastorina mcastorina merged commit 3fc0c2a into main Apr 24, 2026
16 checks passed
@mcastorina mcastorina deleted the enable-checksecretparts-ci branch April 24, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants