Skip to content

Commit 0f54f14

Browse files
author
Your Name
committed
Add CodeQL static analysis
1 parent e3dc0ad commit 0f54f14

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: CodeQL
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
10+
11+
permissions:
12+
actions: read
13+
checks: write
14+
contents: read
15+
security-events: write
16+
17+
jobs:
18+
analyze:
19+
name: Analyze
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- name: Checkout
24+
id: checkout
25+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26+
27+
- name: Initialize CodeQL
28+
id: initialize
29+
uses: github/codeql-action/init@1a7989f3955e0c69f0e0ccc14aee54a387a0fd31 # v3.28.9
30+
with:
31+
queries: security-extended
32+
languages: TypeScript
33+
source-root: src
34+
35+
- name: Autobuild
36+
id: autobuild
37+
uses: github/codeql-action/autobuild@1a7989f3955e0c69f0e0ccc14aee54a387a0fd31 # v3.28.9
38+
39+
- name: Perform CodeQL Analysis
40+
id: analyze
41+
uses: github/codeql-action/analyze@1a7989f3955e0c69f0e0ccc14aee54a387a0fd31 # v3.28.9

0 commit comments

Comments
 (0)