Skip to content

Commit 07210a2

Browse files
committed
cicd: add codeql workflow.
1 parent ae1fe98 commit 07210a2

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
schedule:
9+
- cron: 30 1 * * 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+
strategy:
20+
fail-fast: false
21+
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@v3
24+
- name: Initialize CodeQL
25+
uses: github/codeql-action/init@v2
26+
with:
27+
languages: TypeScript
28+
source-root: src
29+
- name: Perform CodeQL Analysis
30+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)