chore: release 9.4.3 #1553
This file contains hidden or 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
name: Gitleaks Secret Detection | |
permissions: | |
contents: read | |
on: | |
push: | |
workflow_call: | |
workflow_dispatch: | |
jobs: | |
secret-detection: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/gitleaks/gitleaks:v8.27.0 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v5 | |
with: | |
fetch-depth: 0 # Clone the entire repo history | |
- run: >- | |
set -o pipefail; | |
git config --global --add safe.directory "$(pwd)"; | |
gitleaks git -v --redact=80 --platform github --log-opts="HEAD" --no-color 2>&1 | tee $GITHUB_STEP_SUMMARY |