Skip to content

Commit

Permalink
fix: Add missing steps
Browse files Browse the repository at this point in the history
  • Loading branch information
andymac4182 committed Apr 30, 2023
1 parent 0110108 commit d65c90b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/snyk.yml
Expand Up @@ -46,6 +46,13 @@ jobs:
contents: read
security-events: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@6b3083af2869dc3314a0257a42f4af696cc79ba3 # v2.3.1
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs

- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2

- name: Run Snyk to scan for bad code
uses: snyk/actions/node@806182742461562b67788a64410098c9d9b96adb # master
continue-on-error: true # To make sure that SARIF upload gets called
Expand Down Expand Up @@ -77,6 +84,12 @@ jobs:
contents: read
security-events: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@6b3083af2869dc3314a0257a42f4af696cc79ba3 # v2.3.1
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs

- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Build a Docker image
run: |
npm run build -ws --if-present
Expand All @@ -103,6 +116,12 @@ jobs:
contents: read
security-events: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@6b3083af2869dc3314a0257a42f4af696cc79ba3 # v2.3.1
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs

- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Run Snyk to create SBOM
uses: snyk/actions/node@806182742461562b67788a64410098c9d9b96adb # master
continue-on-error: true # To make sure that SARIF upload gets called
Expand Down

0 comments on commit d65c90b

Please sign in to comment.