Merge pull request #422 from SUSE/dependabot/github_actions/docker/bu… #496
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: Secrets scan | |
on: [push, pull_request] | |
jobs: | |
scanning: | |
name: TruffleHog Enterprise scan | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # fetch all history so multiple commits can be scanned | |
- name: TruffleHog Enterprise scan | |
uses: trufflesecurity/TruffleHog-Enterprise-Github-Action@main | |
with: | |
args: --fail-verified ${{ github.event.repository.default_branch }} HEAD |