mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
Add TruffleHog version input for GitHub action (#1064)
This commit is contained in:
parent
8be89a593b
commit
8dedd08d89
1 changed files with 6 additions and 2 deletions
|
@ -3,8 +3,12 @@ description: 'Scan Github Actions with TruffleHog'
|
|||
author: Truffle Security Co. <support@trufflesec.com>
|
||||
|
||||
inputs:
|
||||
version:
|
||||
description: TruffleHog version.
|
||||
required: false
|
||||
default: latest
|
||||
path:
|
||||
description: Repository path
|
||||
description: Repository path.
|
||||
required: true
|
||||
base:
|
||||
description: Start scanning from here (usually main branch).
|
||||
|
@ -22,7 +26,7 @@ branding:
|
|||
color: "green"
|
||||
runs:
|
||||
using: "docker"
|
||||
image: "docker://ghcr.io/trufflesecurity/trufflehog:latest"
|
||||
image: "docker://ghcr.io/trufflesecurity/trufflehog:${{ inputs.version }}"
|
||||
args:
|
||||
- git
|
||||
- file://${{ inputs.path }}
|
||||
|
|
Loading…
Reference in a new issue