mirror of
https://github.com/carhartl/talisman-secrets-scan-action.git
synced 2024-12-04 21:30:23 +00:00
Make ref args configurable
Some repos might still use `master`. One should also be able to use the action for a branch.
This commit is contained in:
parent
bb34703cd9
commit
ef9092fef0
1 changed files with 3 additions and 3 deletions
|
@ -2,9 +2,9 @@ name: "Detect secrets with Talisman"
|
||||||
description: "Scan an incoming range of commits for accidentally added secrets and sensitive information"
|
description: "Scan an incoming range of commits for accidentally added secrets and sensitive information"
|
||||||
inputs:
|
inputs:
|
||||||
local-ref:
|
local-ref:
|
||||||
description: "Ref pushed from"
|
description: "Ref that was updated"
|
||||||
required: false
|
required: false
|
||||||
default: refs/heads/main
|
default: ${{ github.ref }}
|
||||||
local-sha:
|
local-sha:
|
||||||
description: "The latest of the incoming commits"
|
description: "The latest of the incoming commits"
|
||||||
required: false
|
required: false
|
||||||
|
@ -12,7 +12,7 @@ inputs:
|
||||||
remote-ref:
|
remote-ref:
|
||||||
description: "Ref that was updated"
|
description: "Ref that was updated"
|
||||||
required: false
|
required: false
|
||||||
default: refs/heads/main
|
default: ${{ github.ref }}
|
||||||
remote-sha:
|
remote-sha:
|
||||||
description: "The latest commit on the remote being pushed to"
|
description: "The latest commit on the remote being pushed to"
|
||||||
required: false
|
required: false
|
||||||
|
|
Loading…
Reference in a new issue