-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (39 loc) · 1.39 KB
/
Copy pathcodeql.yml
File metadata and controls
45 lines (39 loc) · 1.39 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
name: CodeQL
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
schedule:
- cron: "30 5 * * 1" # Monday 05:30 UTC
permissions:
contents: read
security-events: write
actions: read
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# CodeQL Rust support reached GA in CodeQL CLI 2.23.3 (late 2025).
# We run Rust alongside the JS/TS + Actions packs to cover the
# whole repo. `cargo-deny` (deny.toml) + `cargo-audit` (Rust
# Supply-Chain Gate in ci.yml) + Dependabot weekly cargo
# updates remain in place as defense-in-depth.
language: [javascript-typescript, actions, rust]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Initialize CodeQL
uses: github/codeql-action/init@e46ed2cbd01164d986452f91f178727624ae40d7 # v4
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql-config.yml
queries: security-and-quality
- name: Autobuild
uses: github/codeql-action/autobuild@e46ed2cbd01164d986452f91f178727624ae40d7 # v4
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@e46ed2cbd01164d986452f91f178727624ae40d7 # v4
with:
category: "/language:${{ matrix.language }}"