talisman-secrets-scan-action/action.yml

17 lines
559 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:
local-sha:
description: "The latest of the incoming commits"
required: false
default: ${{ github.event.after }}
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:22:18 +00:00
- refs/heads/main ${{ inputs.local-sha }} refs/heads/main ${{ inputs.remote-sha }}