replace hardcoded temp directories with tempfile (#7) #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trufflehog | |
on: [pull_request, push, workflow_dispatch] | |
jobs: | |
trufflehog: | |
name: trufflehog | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Secret Scanning | |
uses: trufflesecurity/trufflehog@main | |
with: | |
extra_args: --only-verified | |
# Scan entire branch | |
- name: scan-push | |
uses: trufflesecurity/trufflehog@main | |
with: | |
base: "" | |
head: ${{ github.ref_name }} | |
extra_args: --only-verified |