-
Notifications
You must be signed in to change notification settings - Fork 210
58 lines (52 loc) · 1.19 KB
/
codeql.yml
File metadata and controls
58 lines (52 loc) · 1.19 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: CodeQL
on:
push:
branches:
- main
paths-ignore:
- "apply-report.json"
- "repair-apply-report.json"
- "jobs/**"
- "records/**"
- "results/**"
pull_request:
schedule:
- cron: "41 2 * * 1"
workflow_dispatch:
permissions:
actions: read
contents: read
security-events: write
concurrency:
group: codeql-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
language:
- actions
- javascript-typescript
steps:
- uses: actions/checkout@v6
with:
sparse-checkout: |
.github
scripts
src
package.json
pnpm-lock.yaml
tsconfig.json
tsconfig.repair.json
sparse-checkout-cone-mode: false
- uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: none
- uses: github/codeql-action/analyze@v4
with:
category: "/language:${{ matrix.language }}"