Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(FS-7080): Update trufflehog-scan.yml #843

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}
Loading