Skip to content

Commit 1a77905

Browse files
Create codeql.yml
1 parent d5f523d commit 1a77905

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [main, dev, certification]
6+
pull_request:
7+
branches: [main, dev, certification]
8+
schedule:
9+
- cron: '0 0 * * 3'
10+
11+
jobs:
12+
analyze:
13+
name: Analyze
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 60
16+
permissions:
17+
actions: read
18+
contents: read
19+
security-events: write
20+
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
language: ['typescript']
25+
26+
steps:
27+
- name: Checkout repository
28+
uses: actions/checkout@v4
29+
with:
30+
fetch-depth: 2
31+
32+
- name: Use Node.js 18
33+
uses: actions/setup-node@v2
34+
with:
35+
node-version: 18.x
36+
37+
- name: Install Dependencies
38+
run: npm ci
39+
40+
- name: Initialize CodeQL
41+
uses: github/codeql-action/init@v3
42+
with:
43+
languages: ${{ matrix.language }}
44+
45+
- name: Autobuild
46+
uses: github/codeql-action/autobuild@v3
47+
48+
- name: Perform CodeQL Analysis
49+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)