fix: package.json & yarn.lock to reduce vulnerabilities #786
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
# This workflow integrates ShiftLeft Scan with GitHub's code scanning feature | |
# ShiftLeft Scan is a free open-source security tool for modern DevOps teams | |
# Visit https://docs.shiftleft.io/shiftleft/scan/integrations/github-actions for help | |
name: ShiftLeft Scan | |
# This section configures the trigger for the workflow. Feel free to customize depending on your convention | |
on: [push] | |
jobs: | |
Scan-Build: | |
# Scan runs on ubuntu, mac and windows | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Perform ShiftLeft Scan | |
uses: ShiftLeftSecurity/scan-action@master | |
env: | |
WORKSPACE: "" | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SCAN_AUTO_BUILD: true | |
with: | |
output: reports | |
# Scan auto-detects the languages in your project. To override uncomment the below variable and set the type | |
#type: php,javascript,json,nodejs,plsql,yaml,depscan | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: shiftleft-scan-reports | |
path: reports |