Skip to content

fix: clean windows onboarding (reviewed + fixed) #441

fix: clean windows onboarding (reviewed + fixed)

fix: clean windows onboarding (reviewed + fixed) #441

Workflow file for this run

name: gitleaks
on:
pull_request:
push:
branches:
- main
jobs:
scan:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install gitleaks
run: |
set -euo pipefail
VERSION="8.18.4"
ARCHIVE="gitleaks_${VERSION}_linux_x64.tar.gz"
URL="https://github.com/gitleaks/gitleaks/releases/download/v${VERSION}/${ARCHIVE}"
curl -sSL "$URL" -o "/tmp/${ARCHIVE}"
tar -xzf "/tmp/${ARCHIVE}" -C /tmp
sudo mv /tmp/gitleaks /usr/local/bin/gitleaks
gitleaks version
- name: Scan (full history)
run: |
set -euo pipefail
gitleaks detect --redact --no-banner --log-opts="--all"