Skip to content

Commit 7441aba

Browse files
authored
chore: Refactor CodeQL workflow for improved configuration
1 parent 1ea898c commit 7441aba

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
13+
name: "CodeQL Advanced"
14+
15+
on:
16+
push:
17+
branches: [ main ]
18+
pull_request:
19+
branches: [ main ]
20+
schedule:
21+
- cron: '37 15 * * 3'
22+
23+
permissions:
24+
security-events: write
25+
contents: read
26+
packages: read
27+
actions: read
28+
29+
jobs:
30+
codeql:
31+
uses: reactiveui/actions-common/.github/workflows/workflow-common-codeql.yml@main
32+
with:
33+
srcFolder: src
34+
solutionFile: ReactiveUI.SourceGenerators.slnx
35+
installWorkloads: true
36+
analyzeCSharp: true
37+
analyzeActions: true
38+
analyzeJavaScript: false

0 commit comments

Comments
 (0)