mirror of
https://github.com/securego/gosec.git
synced 2024-12-25 03:55:54 +00:00
Add a GitHub action to run gosec
Signed-off-by: Cosmin Cojocar <cosmin.cojocar@gmx.ch>
This commit is contained in:
parent
c6e10af40f
commit
08202fee80
1 changed files with 19 additions and 0 deletions
19
action.yml
Normal file
19
action.yml
Normal 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'
|
Loading…
Reference in a new issue