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 40c22b7a. It was last updated on Thu Apr 21 2022.

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@40c22b7a

This example has all possible inputs, with dummy data.

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