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:
Klaus Hartl 2021-09-19 08:39:18 +02:00
parent bb34703cd9
commit ef9092fef0
No known key found for this signature in database
GPG key ID: 6BA8AED91AB6EA2A

View file

@ -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