mirror of
https://github.com/carhartl/talisman-secrets-scan-action.git
synced 2024-12-04 13:27:27 +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"
|
||||
inputs:
|
||||
local-ref:
|
||||
description: "Ref pushed from"
|
||||
description: "Ref that was updated"
|
||||
required: false
|
||||
default: refs/heads/main
|
||||
default: ${{ github.ref }}
|
||||
local-sha:
|
||||
description: "The latest of the incoming commits"
|
||||
required: false
|
||||
|
@ -12,7 +12,7 @@ inputs:
|
|||
remote-ref:
|
||||
description: "Ref that was updated"
|
||||
required: false
|
||||
default: refs/heads/main
|
||||
default: ${{ github.ref }}
|
||||
remote-sha:
|
||||
description: "The latest commit on the remote being pushed to"
|
||||
required: false
|
||||
|
|
Loading…
Reference in a new issue