Skip to content

ci: improve secret scanning and test coverage#2

Merged
KaramelBytes merged 1 commit intomainfrom
ci/improve-secret-scanning
Oct 15, 2025
Merged

ci: improve secret scanning and test coverage#2
KaramelBytes merged 1 commit intomainfrom
ci/improve-secret-scanning

Conversation

@KaramelBytes
Copy link
Owner

Description

This PR enhances our CI pipeline with improved secret scanning and test coverage:

  • Added a custom .gitleaks.toml configuration to reduce false positives
  • Updated GitHub Actions workflow with proper token permissions
  • Improved test coverage reporting with Codecov integration
  • Fixed TOML syntax issues in the Gitleaks configuration

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Testing

  • Unit tests pass (go test ./...)
  • Race detector clean (go test -race ./...)
  • Linter passes (golangci-lint run)
  • Manual testing completed
    • Verified Gitleaks runs locally without false positives
    • Confirmed workflow passes in the PR checks

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Documentation updated
  • CHANGELOG.md updated

Additional Notes

  • This PR addresses the failing secret scanning in our CI pipeline
  • The new Gitleaks configuration properly ignores common false positives like "token" in documentation
  • Test coverage reporting is now more comprehensive
@KaramelBytes KaramelBytes merged commit 27c7f4c into main Oct 15, 2025
5 of 6 checks passed
@KaramelBytes KaramelBytes deleted the ci/improve-secret-scanning branch October 15, 2025 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant