-
Notifications
You must be signed in to change notification settings - Fork 42
38 lines (33 loc) · 959 Bytes
/
Copy pathcodeql.yml
File metadata and controls
38 lines (33 loc) · 959 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: CodeQL
# Static analysis of the JS/TS surface. The native C++ layer is not analysed
# here - CodeQL would need the full ODBC toolchain to build it; add a c-cpp
# matrix entry mirroring the install steps in test.yml if that is wanted.
on:
push:
branches: [master, n_api]
pull_request:
branches: [master, n_api]
schedule:
- cron: '30 5 * * 1'
workflow_dispatch:
permissions:
contents: read
jobs:
analyze:
name: Analyze JavaScript/TypeScript
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
contents: read
steps:
- uses: actions/checkout@v7
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: javascript-typescript
queries: security-and-quality
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v4
with:
category: /language:javascript-typescript