Add a GitHub action to run gosec

Signed-off-by: Cosmin Cojocar <cosmin.cojocar@gmx.ch>
This commit is contained in:
Cosmin Cojocar 2020-04-06 18:08:01 +02:00 committed by Cosmin Cojocar
parent c6e10af40f
commit 08202fee80

19
action.yml Normal file
View file

@ -0,0 +1,19 @@
name: 'Gosec'
description: 'Runs the gosec security checker'
author: '@ccojocar'
inputs:
args:
description: 'Arguments for gosec'
required: true
default: '-h'
runs:
using: 'docker'
image: 'docker://securego/gosec'
args:
- ${{ inputs.args }}
branding:
icon: 'shield'
color: 'blue'