mirror of
https://github.com/securego/gosec.git
synced 2024-12-25 03:55:54 +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
|
- name: Run Gosec Security Scanner
|
||||||
uses: securego/gosec@master
|
uses: securego/gosec@master
|
||||||
with:
|
with:
|
||||||
version: 'latest'
|
|
||||||
args: ./...
|
args: ./...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -3,10 +3,6 @@ description: 'Runs the gosec security checker'
|
||||||
author: '@ccojocar'
|
author: '@ccojocar'
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
version:
|
|
||||||
description: 'Version of gosec to use (e.g. 2.15.0)'
|
|
||||||
required: false
|
|
||||||
default: 'latest'
|
|
||||||
args:
|
args:
|
||||||
description: 'Arguments for gosec'
|
description: 'Arguments for gosec'
|
||||||
required: true
|
required: true
|
||||||
|
@ -14,7 +10,7 @@ inputs:
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'docker://securego/gosec'
|
image: 'docker://securego/gosec:2.15.0'
|
||||||
args:
|
args:
|
||||||
- ${{ inputs.args }}
|
- ${{ inputs.args }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue