Skip to content

Merge pull request #106 from chrishamillsnyk/snyk-fix-3d34585711d0b85… #232

Merge pull request #106 from chrishamillsnyk/snyk-fix-3d34585711d0b85…

Merge pull request #106 from chrishamillsnyk/snyk-fix-3d34585711d0b85… #232

Workflow file for this run

name: "Snyk Code Scan "
on: push
jobs:
Pipeline-Job:
# Configure Environment
name: 'Snyk Code Scan'
runs-on: ubuntu-latest
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
steps:
# Checkout Code
- name: Checkout Code
uses: actions/checkout@v1
# Install and Authenticate to Snyk
- name: Install Snyk & Authenticate
run: |
sudo npm install -g snyk
snyk auth ${SNYK_TOKEN}
# Run Snyk Code
- name: Run Snyk IAC
run: |
snyk iac test --sarif > results.sarif
continue-on-error: true
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v1
with:
# Path to SARIF file relative to the root of the repository
sarif_file: results.sarif