Skip to content

Commit

Permalink
Update snky.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
bhuvi11 authored Aug 20, 2021
1 parent 507d55d commit 0dca6a7
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/snky.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,14 @@ jobs:
snyk:
runs-on: ubuntu-latest
steps:
# - uses: actions/checkout@v2
- name: Run Snyk to check configuration files for security issues
# Snyk can be used to break the build when it detects security issues.
# In this case we want to upload the issues to GitHub Code Scanning
continue-on-error: true
uses: snyk/actions/iac@master
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/maven@master
continue-on-error: true # To make sure that SARIF upload gets called
env:
# In order to use the Snyk Action you will need to have a Snyk API token.
# More details in https://github.com/snyk/actions#getting-your-snyk-token
# or you can signup for free at https://snyk.io/login
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
file: ${{github.workspace}}/s3.tf
args: --sarif-file-output=snyk.sarif
- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v1
with:
Expand Down

0 comments on commit 0dca6a7

Please sign in to comment.