Make checksecretparts required in CI#4921
Merged
Merged
Conversation
dustin-decker
approved these changes
Apr 24, 2026
MuneebUllahKhan222
pushed a commit
that referenced
this pull request
May 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Enforces a lint check to ensure
SecretPartsis populated on all detectors.Related: #4913
Checklist:
make test-community)?make lintthis requires golangci-lint)?Note
Medium Risk
CI now hard-fails when any detector constructs
detectors.Resultwithout populatingSecretParts, 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
checksecretpartsCI job gating by removing the previous warning-only behavior and running it with-fail, so PRs fail when detector packages don’t populateSecretPartsondetectors.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.