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 - name: Run Gosec Security Scanner
uses: securego/gosec@master uses: securego/gosec@master
with: with:
version: 'latest'
args: ./... args: ./...
``` ```

View file

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