New env var GITLEAKS_ADDITIONAL_COMMENT
to add e.g. a custom docs link
#331
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright © 2022 Gitleaks LLC - All Rights Reserved. | |
# You may use this code under the terms of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT. | |
# You should have received a copy of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT with this file. | |
# If not, please visit https://gitleaks.io/COMMERCIAL-LICENSE.txt. | |
name: gitleaks | |
on: [pull_request, push, workflow_dispatch] | |
jobs: | |
scan: | |
name: gitleaks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: gitleaks/gitleaks-action@v2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} | |
# examples of how to use optional configs: | |
# GITLEAKS_CONFIG: "configs/simple-config.toml" | |
# GITLEAKS_NOTIFY_USER_LIST: "@zricethezav" |