Skip to content

Commit

Permalink
ci(FS-7053): Update trufflehog-scan.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jwsapienza committed Jan 30, 2024
1 parent 9a98959 commit f9f21a1
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/trufflehog-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
###
# Foundation-security Trufflehog workflow
# version: 2.0
###
name: Foundation-Security/Trufflehog Scan

on:
push:
tags:
- "**"
branches:
- "**"

jobs:
Trufflehog-Scan:
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: read
steps:
- name: Checkout source repository
id: checkout-source
uses: actions/checkout@v4
with:
repository: ${{github.repository}}
ref: ${{ github.ref }}
path: source
token: ${{secrets.GH_SLONIK}}

- name: Checkout foundation-security repository
id: checkout-foundation-security
uses: actions/checkout@v4
with:
repository: EnterpriseDB/foundation-security
ref: v2
path: foundation-security
token: ${{secrets.GH_SLONIK}}

- name: Secrets Scan
id: call-th-composite
uses: ./foundation-security/actions/trufflehog
with:
cloudsmith-token: ${{ secrets.CLOUDSMITH_READ_ALL }}

0 comments on commit f9f21a1

Please sign in to comment.