Skip to content

Commit

Permalink
Pin github action to latest release version 2.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ccojocar committed Feb 8, 2023
1 parent ffe254e commit 392e53c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ jobs:
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
version: 'latest'
args: ./...
```

Expand Down
6 changes: 1 addition & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,14 @@ 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
default: '-h'

runs:
using: 'docker'
image: 'docker://securego/gosec'
image: 'docker://securego/gosec:2.15.0'
args:
- ${{ inputs.args }}

Expand Down

0 comments on commit 392e53c

Please sign in to comment.