Skip to content

Commit

Permalink
Create sécurity.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
b3b00 committed Jun 18, 2023
1 parent 37bac1c commit 5e5508e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/sécurity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: security
on: push
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
- name: Setup .NET
uses: actions/[email protected]
- name: Restore dependencies
run: dotnet restore ./path/to/your.sln
uses: snyk/actions/dotnet@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --severity-threshold=high

0 comments on commit 5e5508e

Please sign in to comment.