Skip to content

Bump braces from 3.0.2 to 3.0.3 #17

Bump braces from 3.0.2 to 3.0.3

Bump braces from 3.0.2 to 3.0.3 #17

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: CVE Scanning
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
cvescan:
name: CVE Scanning
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: rm -rf node_modules package-lock.json
- run: npm install --prod
- run: npx --yes auditjs ossi --whitelist allow-list.json
# Semgrep static code analysis
semgrep:
name: Semgrep
runs-on: ubuntu-latest
needs: [ cvescan ]
container:
# A Docker image with Semgrep installed. Don't change this.
image: returntocorp/semgrep
# Skip any PR created by dependabot to avoid permission issues
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v3
- run: semgrep scan --config auto --severity ERROR
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}