CI pipeline is slow: checkout takes 4 minutes.
AdvancedTroubleshootingSecrets, Security and Pipeline Performance
Answer
Likely causes → Huge repo, full history, LFS objects, submodules.
Diagnose → Time the checkout step; git count-objects -vH.
Fix → Shallow clone, sparse checkout, partial clone (--filter=blob:none), skip LFS where unneeded, use a cached reference clone.
Prevent → Repository hygiene and git gc / large file policy.
More on Secrets, Security and Pipeline Performance
A secret printed in logs appears as `***` in GitHub Actions but a base64 variant is visible.Advanced`gitleaks` finds a secret in an old commit, but the file is gone now.BeginnerTrivy scan fails the pipeline: `FATAL ... failed to download vulnerability DB ... TOOMANYREQUESTS`.Intermediate`cosign verify` fails: `no matching signatures: none of the expected identities matched`.AdvancedKyverno `verifyImages` blocks all deploys after rollout: `image verification failed`.AdvancedDependabot/Renovate PRs fail CI with unrelated errors.Beginner