Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
Make checksecretparts required in CI (#4921)
Miccah3fc0c2aa6648
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex 2a5f413b1..811839747 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -51,17 +51,14 @@ jobs:- uses: actions/checkout@v4- run: semgrep --config=hack/semgrep-rules/detectors.yaml pkg/detectors/checksecretparts:- # Warning-only: reports detector packages that construct detectors.Result- # without populating SecretParts. Flip to hard-fail (drop continue-on-error- # and run with -fail) after every detector has been migrated. See- # hack/checksecretparts/README.md.- name: checksecretparts (warning)+ # Reports detector packages that construct detectors.Result without+ # populating SecretParts. See hack/checksecretparts/README.md.+ name: checksecretpartsruns-on: ubuntu-latest- continue-on-error: truesteps:- uses: actions/checkout@v4- uses: actions/setup-go@v5with:go-version: "1.25"- name: Run checksecretparts- run: go run ./hack/checksecretparts ./pkg/detectors+ run: go run ./hack/checksecretparts -fail ./pkg/detectors