Skip to content

chore: harden secret scanning #1

chore: harden secret scanning

chore: harden secret scanning #1

Workflow file for this run

name: Gitleaks
on:
pull_request:
push:
branches:
- main
jobs:
scan:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install gitleaks
run: |
set -euo pipefail
version=8.30.0
curl -sSL "https://github.com/gitleaks/gitleaks/releases/download/v${version}/gitleaks_${version}_linux_x64.tar.gz" | tar -xz gitleaks
chmod +x gitleaks
echo "$PWD" >> "$GITHUB_PATH"
- name: Scan tracked files
run: bash scripts/security-scan.sh