Dylan Fixing Issues #64
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Snyk Scan" | |
on: | |
push: | |
branches: | |
- 'demo*' # Include any branch starting with demo | |
jobs: | |
Pipeline-Job: | |
# Configure Environment | |
name: 'Snyk 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 | |
sudo npm install -g snyk-delta | |
snyk auth ${SNYK_TOKEN} | |
# Run Snyk Code | |
- name: Run Snyk Code | |
run: | | |
snyk code test --report --project-name="GH_ACTION_CI" --severity-threshold=high | |
continue-on-error: true | |
# Run Snyk OS | |
- name: Run Snyk OS | |
run: | | |
snyk test --json --print-deps | snyk-delta --baselineOrg 6d36ac7a-c75b-4179-8e73-6dd4d3fc8343 --baselineProject c8cfc88f-7bc5-4fc4-8474-3fa716593d4a --setPassIfNoBaseline true | |
continue-on-error: true |