Pin github action to latest release version 2.15.0

This commit is contained in:
Cosmin Cojocar 2023-02-08 11:29:30 +01:00
parent ffe254e3a9
commit 392e53c8d0
No known key found for this signature in database
GPG key ID: D4C8D14F280FB879
2 changed files with 1 additions and 6 deletions

View file

@ -72,7 +72,6 @@ jobs:
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
version: 'latest'
args: ./...
```

View file

@ -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 }}