Skip to content

feat: On-Chain Analysis panel with GMGN security integration #16

feat: On-Chain Analysis panel with GMGN security integration

feat: On-Chain Analysis panel with GMGN security integration #16

Workflow file for this run

name: Secret Scan
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
pull-requests: read
jobs:
trufflehog:
name: TruffleHog
runs-on: ubuntu-latest
steps:
- name: Checkout full history
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Scan PR diff
if: github.event_name == 'pull_request'
uses: trufflesecurity/trufflehog@main
with:
path: ./
base: ${{ github.event.pull_request.base.sha }}
head: ${{ github.event.pull_request.head.sha }}
extra_args: --only-verified --exclude-paths=.trufflehog-exclude
- name: Scan push
if: github.event_name == 'push'
uses: trufflesecurity/trufflehog@main
with:
path: ./
base: ${{ github.event.before }}
head: ${{ github.sha }}
extra_args: --only-verified --exclude-paths=.trufflehog-exclude