talisman-secrets-scan-action/action.yml

28 lines
828 B
YAML
Raw Normal View History

2021-09-19 05:52:50 +00:00
name: "Detect secrets with Talisman"
description: "Scan an incoming range of commits for accidentally added secrets and sensitive information"
2021-09-19 06:22:18 +00:00
inputs:
2021-09-19 06:30:08 +00:00
local-ref:
description: "Ref that was updated"
2021-09-19 06:30:08 +00:00
required: false
default: ${{ github.ref }}
2021-09-19 06:22:18 +00:00
local-sha:
description: "The latest of the incoming commits"
required: false
default: ${{ github.event.after }}
2021-09-19 06:30:08 +00:00
remote-ref:
description: "Ref that was updated"
required: false
default: ${{ github.ref }}
2021-09-19 06:22:18 +00:00
remote-sha:
description: "The latest commit on the remote being pushed to"
required: false
default: ${{ github.event.before }}
2021-09-19 05:52:50 +00:00
runs:
using: "docker"
image: "Dockerfile"
args:
2021-09-19 06:30:08 +00:00
- ${{ inputs.local-ref }} ${{ inputs.local-sha }} ${{ inputs.remote-ref }} ${{ inputs.remote-sha }}
branding:
icon: "lock"
color: "yellow"