Skip to content

Commit

Permalink
create security.yml
Browse files Browse the repository at this point in the history
add Gosec action
  • Loading branch information
hrshadhin authored Apr 17, 2021
1 parent 47a021e commit 0c3e866
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
on: [push, pull_request]
name: Security
jobs:
Gosec:
runs-on: ubuntu-latest
steps:
- name: Fetch Repository
uses: actions/checkout@v2
- name: Run Gosec
uses: securego/gosec@master
with:
args: -exclude-dir=internal/*/ ./...

0 comments on commit 0c3e866

Please sign in to comment.