Skip to content

Remove matrix and analyze the root dir #2

Remove matrix and analyze the root dir

Remove matrix and analyze the root dir #2

Workflow file for this run

name: Trufflehog security scan
on:
schedule:
- cron: '0 10 * * *'
push:
branches-ignore:
- master
jobs:
vulnerability-detection:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up TruffleHog
run: |
sudo apt-get update && sudo apt-get install -y git curl jq
curl -sSfL https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/scripts/install.sh | sh -s -- -b /usr/local/bin
- name: Display File Structure
run: |
echo "Displaying file structure..."
find . -type f
- name: Run TruffleHog Scan
env:
SCAN_PATH: "."
run: |
trufflehog filesystem "$SCAN_PATH" --only-verified --fail --json | jq .