fix(ci): make the hardcoded-secret scan blocking and close the .gitignore/.sops.yaml gaps that let a plaintext deploy key through — also untracks tfplan binaries and skills-lock.json

This commit is contained in:
Story Crater Bot
2026-08-18 15:08:04 -07:00
parent 5f16f16f0f
commit 0fe3d25936
3 changed files with 49 additions and 16 deletions
+11 -2
View File
@@ -50,10 +50,19 @@ terraform/*.tfstate.*
terraform.tfvars.local
skills-lock.json
secrets-plaintext.yaml
skills-lock.json
# Saved plan files — binary, environment-specific, may embed resource attributes
terraform/tfplan
terraform/tfplan-*
.DS_Store
CLAUDE.md
docs/
k8s/argocd/seed-repo-secret.yamlbootstrap-argocd.log
bootstrap-argocd.log
# Any plaintext (non-SOPS) secret manifest. Encrypted ones are *.enc.yaml and
# ARE committed — see .sops.yaml. A missing newline once merged two patterns on
# one line here, which is how a plaintext deploy key reached a public remote.
k8s/**/*-secret.yaml
!k8s/**/*.enc.yaml