Trigger pipeline on latest tag if require_image_build is not selected #238
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 scan | |
on: [push] | |
permissions: read-all | |
jobs: | |
trufflehog: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: trufflesecurity/trufflehog@main | |
with: | |
base: "" | |
head: ${{ github.ref_name }} | |
extra_args: --no-verification --exclude-paths=.trufflehogignore |