-
Notifications
You must be signed in to change notification settings - Fork 150
39 lines (30 loc) · 1.17 KB
/
securitycodescan.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow integrates SecurityCodeScan with GitHub's Code Scanning feature
# SecurityCodeScan is a vulnerability patterns detector for C# and VB.NET
name: SecurityCodeScan
on:
push:
pull_request:
schedule:
- cron: '30 6 * * 3'
jobs:
SCS:
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: nuget/setup-nuget@323ab0502cd38fdc493335025a96c8fdb0edc71f
- uses: microsoft/[email protected]
- name: Set up projects for analysis
uses: security-code-scan/security-code-scan-add-action@2439fb4aaeda4ad590a7c8bde327d159d03875fd
- name: Restore dependencies
run: nuget restore
- name: Build
run: msbuild
- name: Convert sarif for uploading to GitHub
uses: security-code-scan/security-code-scan-results-action@cdb3d5e639054395e45bf401cba8688fcaf7a687
- name: Upload sarif
uses: github/codeql-action/upload-sarif@v3