Merge pull request #420 from ropable/master #8
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: "Scan project for secrets & sensitive information" | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
secret-scan: | |
name: Scan project for secrets | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Secret scanning | |
uses: trufflesecurity/trufflehog@main | |
with: | |
base: "" | |
head: ${{ github.ref_name }} | |
extra_args: --only-verified |