Add TruffleHog version input for GitHub action (#1064)
This commit is contained in:
+6
-2
@@ -3,8 +3,12 @@ description: 'Scan Github Actions with TruffleHog'
|
|||||||
author: Truffle Security Co. <[email protected]>
|
author: Truffle Security Co. <[email protected]>
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
|
version:
|
||||||
|
description: TruffleHog version.
|
||||||
|
required: false
|
||||||
|
default: latest
|
||||||
path:
|
path:
|
||||||
description: Repository path
|
description: Repository path.
|
||||||
required: true
|
required: true
|
||||||
base:
|
base:
|
||||||
description: Start scanning from here (usually main branch).
|
description: Start scanning from here (usually main branch).
|
||||||
@@ -22,7 +26,7 @@ branding:
|
|||||||
color: "green"
|
color: "green"
|
||||||
runs:
|
runs:
|
||||||
using: "docker"
|
using: "docker"
|
||||||
image: "docker://ghcr.io/trufflesecurity/trufflehog:latest"
|
image: "docker://ghcr.io/trufflesecurity/trufflehog:${{ inputs.version }}"
|
||||||
args:
|
args:
|
||||||
- git
|
- git
|
||||||
- file://${{ inputs.path }}
|
- file://${{ inputs.path }}
|
||||||
|
|||||||
Reference in New Issue
Block a user