Skip to content

Commit 033238a

Browse files
authored
ci: add CodeQL analysis (#178)
1 parent 79a04c2 commit 033238a

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+
name: CodeQL
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
schedule:
9+
- cron: '0 0 * * 0'
10+
11+
jobs:
12+
analyze:
13+
name: Analyze
14+
runs-on: ubuntu-latest
15+
permissions:
16+
actions: read
17+
contents: read
18+
security-events: write
19+
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
language:
24+
- python
25+
- javascript-typescript
26+
27+
steps:
28+
- name: Checkout repository
29+
uses: actions/checkout@v4
30+
31+
- name: Initialize CodeQL
32+
uses: github/codeql-action/init@v3
33+
with:
34+
languages: ${{ matrix.language }}
35+
build-mode: none
36+
37+
- name: Perform CodeQL analysis
38+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)