Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/secret-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Secret scan

on:
pull_request:
push:
branches: [main]

permissions:
contents: read

jobs:
secret-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-depth: 0

- name: Verify and run gitleaks
run: |
archive=gitleaks_8.30.0_linux_x64.tar.gz
cd "$RUNNER_TEMP"
curl --fail --silent --show-error --location --output "$archive" \
"https://github.com/gitleaks/gitleaks/releases/download/v8.30.0/$archive"
echo "79a3ab579b53f71efd634f3aaf7e04a0fa0cf206b7ed434638d1547a2470a66e $archive" | sha256sum --check
tar -xzf "$archive" gitleaks
cd "$GITHUB_WORKSPACE"
"$RUNNER_TEMP/gitleaks" git --redact=100 --log-opts=--all .
4 changes: 4 additions & 0 deletions .gitleaksignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# False positive: planning prose in the initial commit.
# The matching line is no longer on main.
# Approved by Hudson 2026-12-05.
c7aee5ab8e1e426fa5fc8a0f64969022b3b053cf:docs/backlog.md:generic-api-key:38
Loading