Skip to content

ci: add gitleaks on pre-commit phase - #13

Merged
ericodx merged 2 commits into
mainfrom
add-gitleaks
Mar 30, 2026
Merged

ci: add gitleaks on pre-commit phase#13
ericodx merged 2 commits into
mainfrom
add-gitleaks

Conversation

@ericodx

@ericodx ericodx commented Mar 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add gitleaks to .pre-commit-config.yaml to detect hardcoded secrets and credentials before they reach the repository
  • Update sonar-project.properties with revised SonarCloud configuration

Type of Change

  • ci: Changes related to continuous integration and deployment scripts.
  • chore: Other changes that do not fit into the previous categories.

Invariants Checklist

  • Detection is deterministic (same input → same output)
  • Source files are never modified (tool is read-only)
  • Source locations are accurate (file, line, column)
  • No false negatives introduced (previously detected clones are still detected)
  • Performance not degraded for large codebases
  • Swift 6 Strict Concurrency compatible
  • Pipeline stages remain stateless pure transformations

Pipeline Impact

  • None

Testing

  • All tests pass locally (swift test)

@ericodx ericodx self-assigned this Mar 30, 2026
@ericodx ericodx added the ci CI/CD configuration and workflows label Mar 30, 2026
@ericodx ericodx added the chore Tooling, configuration, and maintenance label Mar 30, 2026
@ericodx
ericodx merged commit 8e4be8a into main Mar 30, 2026
1 check passed
@ericodx
ericodx deleted the add-gitleaks branch March 30, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Tooling, configuration, and maintenance ci CI/CD configuration and workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant