-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 864 Bytes
/
Copy pathcodeql.yml
File metadata and controls
36 lines (30 loc) · 864 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
name: CodeQL
# Scans the JavaScript/TypeScript code (including scripts inside HTML) on every
# push and pull request to main, dev, plus a weekly scheduled run. Can also be
# started manually from the Actions tab.
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
schedule:
- cron: '24 3 * * 1' # weekly
workflow_dispatch:
permissions:
contents: read
security-events: write
jobs:
analyze:
name: Analyze (javascript-typescript)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: javascript-typescript
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:javascript-typescript"