Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenMRS-Brain

Security — Secret Scanning

This repo uses gitleaks to prevent secrets from being committed. It runs at two levels:

Layer When How
Pre-commit hook Every local git commit gitleaks detect --staged via pre-commit
CI (GitHub Actions) Every push & PR gitleaks/gitleaks-action@v2

Local Setup (one-time)

# 1. Install gitleaks
brew install gitleaks

# 2. Install the pre-commit framework
pip install pre-commit

# 3. Activate the hook for this repo
pre-commit install

After this, gitleaks will automatically scan staged changes before every commit. To run a manual scan of all files:

pre-commit run gitleaks --all-files

Configuration

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages