mirror of
https://github.com/securego/gosec.git
synced 2024-11-05 19:45:51 +00:00
23 lines
466 B
YAML
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'
|