{"repo":"gitleaks/gitleaks-action","free":true,"listed":false,"github":"https://github.com/gitleaks/gitleaks-action","clone":"git clone https://github.com/gitleaks/gitleaks-action.git","description":"Protect your secrets using Gitleaks-Action","language":"JavaScript","stars":636,"topics":["action","actions","github","github-actions","secret-scanner","secret-scanning","secrets","security","security-automation","security-tools"],"license":null,"category":"security-tools","readme_excerpt":"Gitleaks Action Gitleaks is a SAST tool for detecting and preventing hardcoded secrets like passwords, API keys, and tokens in git repos. Gitleaks is an easy-to-use, all-in-one solution for detecting secrets, past or present, in your code. Enable Gitleaks-Action in your GitHub workflows to be alerted when secrets are leaked as soon as they happen. Check out our demos here (.gif) and here (.png). Usage Example Migrating from v2 to v3 v3 migrates the GitHub Actions runtime from Node 20 to Node 24. There are no changes to inputs, outputs, or behavior. The upgrade is a one-line change in your workflow file: You should also update actions/checkout to v6 (the Node 24 release): Why v3? GitHub is deprecating Node 20 for GitHub Actions: - June 2, 2026: GitHub switches the runner default to Node 24. Workflows using Node 20 actions (including gitleaks-action@v2 ) will require ACTIONS ALLOW USE UNSECURE NODE VERSION=true to keep running. Without this opt-out, Node 20 actions will fail. - September 16, 2026: Node 20 is removed from GitHub-hosted runners entirely. gitleaks-action@v2 will stop working regardless of any opt-out flag. Runner requirements: v3 requires GitHub Actions runner v2.327.1 or later. All current GitHub-hosted runners meet this requirement. Self-hosted runner operators should update their runner before upgrading to v3. --- Environment Variables: - GITHUB TOKEN : This variable is automatically assigned by GitHub when any action gets kicked off. You can read more about th","default_branch":null,"files":null,"tree":[],"storefront":"/r/gitleaks","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gitleaks/gitleaks-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}