Skip to content
This repository contains the GitHub action I created called BetrayMe which scans the PR for any secrets.
Dockerfile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

BetrayMe GitHub Action

This GitHub action helps you run a scan on the code for any secrets when a pull request (aka PR) is created. If it finds anything, it doesn't allow the PR to get merged. It uses Gitleaks to scan through your code and flag potential issues.

How to use

To use this action, simply put this block into your .github/main.workflow workflow file:

workflow "Scan for any secrets on PR" {
  on = "pull_request"
  resolves = ["BetrayMe"]

action "BetrayMe" {
  uses = "docker://yashints/betrayme"


Credits goes to Zachary Rice for creating Gitleaks.

GNU General Public License v3.0

You can’t perform that action at this time.