mirror of
https://github.com/securego/gosec.git
synced 2024-12-24 11:35:52 +00:00
Pin github action to latest release version 2.15.0
This commit is contained in:
parent
ffe254e3a9
commit
392e53c8d0
2 changed files with 1 additions and 6 deletions
|
@ -72,7 +72,6 @@ jobs:
|
|||
- name: Run Gosec Security Scanner
|
||||
uses: securego/gosec@master
|
||||
with:
|
||||
version: 'latest'
|
||||
args: ./...
|
||||
```
|
||||
|
||||
|
|
|
@ -3,10 +3,6 @@ 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
|
||||
|
@ -14,7 +10,7 @@ inputs:
|
|||
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'docker://securego/gosec'
|
||||
image: 'docker://securego/gosec:2.15.0'
|
||||
args:
|
||||
- ${{ inputs.args }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue