Skip to the content.

GitLeaks [docker action]

Audit git repositories for secrets. Gitleaks provides a way for you to find unencrypted secrets and other unwanted data types in git repositories.

Features

Adapted from zricethezav/gitleaks

The latest version available for this action is 99202c06. It was last updated on Wed Mar 04 2026.

Inputs

path

The path to the repository that will be checked. Defaults to the location of actions/checkout default path.

Examples

As a step in pre-existing job.

This simple job example has the bare minimum required to run.

gitleaks: name: GitLeaks runs-on: ubuntu-latest steps: - uses: actions/checkout@master - uses: dogmatic69/actions@99202c06

This example has all possible inputs, with dummy data.

gitleaks: name: GitLeaks runs-on: ubuntu-latest steps: - uses: actions/checkout@master - uses: dogmatic69/actions@99202c06 with: path: foobar