Bumps [trufflesecurity/trufflehog](https://github.com/trufflesecurity/trufflehog) from 3.90.11 to 3.90.12.
- [Release notes](https://github.com/trufflesecurity/trufflehog/releases)
- [Changelog](https://github.com/trufflesecurity/trufflehog/blob/main/.goreleaser.yml)
- [Commits](ad6fc8fb44...b84c3d14d1)
---
updated-dependencies:
- dependency-name: trufflesecurity/trufflehog
dependency-version: 3.90.12
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
37 lines
887 B
YAML
37 lines
887 B
YAML
name: Trufflehog
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
- reopened
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
trufflehog:
|
|
name: Run Trufflehog
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read # clone the repo
|
|
|
|
steps:
|
|
- name: Calculate fetch depth
|
|
id: fetch_depth
|
|
shell: bash
|
|
run: echo "fetch_depth=$(( ${{ github.event.pull_request.commits }} + 2 ))" >> "$GITHUB_OUTPUT"
|
|
- name: Checkout code
|
|
uses: actions/checkout@v5
|
|
with:
|
|
persist-credentials: false
|
|
fetch-depth: ${{ steps.fetch_depth.outputs.fetch_depth }}
|
|
- name: Trufflehog
|
|
uses: trufflesecurity/trufflehog@b84c3d14d189e16da175e2c27fa8136603783ffc # v3.90.12
|
|
with:
|
|
extra_args: --results=verified
|