Skip to content

Require admin privileges to view inspections #76

Require admin privileges to view inspections

Require admin privileges to view inspections #76

name: TruffleHog Scan
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
trufflehog-scan:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: TruffleHog OSS
id: trufflehog
uses: trufflesecurity/trufflehog@v3.63.1
continue-on-error: true
with:
path: ./
base: "${{ github.event.repository.default_branch }}"
head: HEAD
extra_args: --debug
- name: Scan Results Status
if: steps.trufflehog.outcome == 'failure'
run: exit 1