-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 767 Bytes
/
codeql.yml
File metadata and controls
38 lines (33 loc) · 767 Bytes
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
name: CodeQL
on:
push:
branches:
- 'main'
pull_request:
branches:
- '*'
schedule:
- cron: '0 2 * * *'
jobs:
analyze:
name: CodeQL Analysis
runs-on: 'ubuntu-latest'
permissions:
# required for all workflows
security-events: write
steps:
- name: Checkout Repo
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup Environment
uses: ./.github/actions/setup-env
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: csharp
build-mode: autobuild
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:csharp"