Skip to content

Commit ffc9c18

Browse files
1 parent 4deacb0 commit ffc9c18

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/codeql-analysis.yml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
tags: [ v* ]
7+
pull_request:
8+
# The branches below must be a subset of the branches above
9+
branches: [ master ]
10+
paths-ignore: [ '**/*.md' ]
11+
schedule:
12+
- cron: '00 14 * * *' # Every morning at 7:00am PDT
13+
14+
jobs:
15+
analyze:
16+
name: Analyze
17+
runs-on: ubuntu-latest
18+
permissions:
19+
actions: read
20+
contents: read
21+
security-events: write
22+
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
language: [ 'csharp' ]
27+
28+
steps:
29+
- name: Checkout repository
30+
uses: actions/checkout@v2
31+
32+
# Initializes the CodeQL tools for scanning.
33+
- name: Initialize CodeQL
34+
uses: github/codeql-action/init@v1
35+
with:
36+
languages: ${{ matrix.language }}
37+
38+
- name: Build
39+
shell: pwsh
40+
run: scripts/azurePipelinesBuild.ps1
41+
42+
- name: Perform CodeQL Analysis
43+
uses: github/codeql-action/analyze@v1

0 commit comments

Comments
 (0)