Skip to content

ci: add gitleaks scanning to GitHub Actions #15

@dyoshikawa-claw

Description

@dyoshikawa-claw

Summary

Secret scanning currently runs in a local lefthook pre-commit hook via gitleaks. Add a GitHub Actions check so pull requests and pushes are also protected even if local hooks are skipped.

Expected behavior

  • run gitleaks in CI
  • fail the workflow when leaks are detected
  • keep the setup simple and reproducible

Motivation

Local hooks are helpful, but CI should provide repository-side enforcement too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions