Skip to content

Change branch restriction from 'next' to 'staging' #29

Change branch restriction from 'next' to 'staging'

Change branch restriction from 'next' to 'staging' #29

Workflow file for this run

name: Source Composition Analysis Scan
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
security-sca:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run Dotnet Restore
run: |
dotnet restore ./contentstack.model.generator/contentstack.model.generator.sln
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/dotnet@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --file=contentstack.model.generator/obj/project.assets.json