Skip to content

Commit

Permalink
feat(actions) Add Trufflehog secret scan (#128)
Browse files Browse the repository at this point in the history
* Add Trufflehog scan

* Update .github/workflows/leaked_secrets_scan.yaml

Co-authored-by: Helio Machado <0x2b3bfa0+git@googlemail.com>

---------

Co-authored-by: Helio Machado <0x2b3bfa0+git@googlemail.com>
  • Loading branch information
mjasion and 0x2b3bfa0 authored Jul 19, 2023
1 parent 4f60e89 commit 4f09b31
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/leaked_secrets_scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Leaked Secrets Scan
on:
pull_request:
push:
branches:
- develop
- main
- "[0-9]+.[0-9]+.x"
workflow_dispatch:
jobs:
trufflehog:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: TruffleHog OSS
uses: trufflesecurity/trufflehog@cb1a63a4e20e379e0e48b90d808cc2f72002909d
with:
path: ./
base: ${{ github.event.repository.default_branch }}
head: HEAD
extra_args: --debug --only-verified

0 comments on commit 4f09b31

Please sign in to comment.