Merge pull request #33 from jmomakesstuff/add-secret-scanning

Add a secret-scanning workflow
This commit is contained in:
James Babcock authored and GitHub committed 2026-09-25 22:15:08 -07:00
commit 833f9d97f0
2 files changed
+31

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
name: Secret scan
# Scans for committed secrets on pushes to main and on pull requests.
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
gitleaks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}