Skip to content

Commit ebd3ab7

Browse files
Add CodeQL analysis workflow
1 parent e890a8f commit ebd3ab7

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
schedule:
9+
- cron: "0 3 * * 1"
10+
11+
jobs:
12+
analyze:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
security-events: write
16+
contents: read
17+
actions: read
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: github/codeql-action/init@v3
21+
with:
22+
languages: 'cpp, csharp, go, java, javascript, python, ruby'
23+
- uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)