Skip to content
Open
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
27 changes: 27 additions & 0 deletions .github/workflows/secret-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
###############################################################################
# Secret scan
#
# Calls the public org scanner on main. Allow-list updates there apply on the
# next run, with no pin bump in this repo. gitleaks git scans the full history.
###############################################################################

name: Secret scan

on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [main]
schedule:
- cron: "0 3 1 * *"
workflow_dispatch:

permissions:
contents: read

jobs:
gitleaks:
name: Secret Scan (Gitleaks)
permissions:
contents: read
uses: m0-platform/secret-scan/.github/workflows/secret-scan.yml@main
3 changes: 3 additions & 0 deletions .gitleaksignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Reviewed false alarms. Each line is file:rule:start-line.
# A new secret on a different line still fails the scan.
test/utils/ERC1271WalletMock.sol:evm-32-byte-hex:18
Loading