gosec/action.yml
Cosmin Cojocar d22a7b6ede
Add gosec version as an input parameter to GitHub action (#927)
* Add gosec version as a paramter to the Github action

* Run gosec as a github action as part of CI
2023-02-08 10:40:36 +01:00

23 lines
466 B
YAML

name: 'Gosec Security Checker'
description: 'Runs the gosec security checker'
author: '@ccojocar'
inputs:
version:
description: 'Version of gosec to use (e.g. 2.15.0)'
required: false
default: 'latest'
args:
description: 'Arguments for gosec'
required: true
default: '-h'
runs:
using: 'docker'
image: 'docker://securego/gosec:${{inputs.version}}'
args:
- ${{ inputs.args }}
branding:
icon: 'shield'
color: 'blue'