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 7728686b. It was last updated on Fri Feb 27 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@7728686b

This example has all possible inputs, with dummy data.

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