Skip to content

Commit

Permalink
feat(security): added Snyk test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
manhtukhang committed Jul 18, 2022
1 parent 6d76529 commit 86fd5a9
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Security scanning
on:
push:
tags:
- v*
branches:
- main
- master

jobs:
security:
if: github.repository == 'manhtukhang/vault-plugin-harbor'
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: run Snyk to check for code vulnerabilities
uses: snyk/actions/golang@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

0 comments on commit 86fd5a9

Please sign in to comment.