-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (35 loc) · 932 Bytes
/
codeql.yml
File metadata and controls
39 lines (35 loc) · 932 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
39
name: CodeQL
on:
push:
branches: [main]
paths:
- "src/**"
- "tests/**"
- "pyproject.toml"
- "uv.lock"
schedule:
- cron: "0 8 * * 1" # Monday 8am UTC
workflow_dispatch:
concurrency:
group: codeql-${{ github.ref }}
cancel-in-progress: true
permissions:
security-events: write
jobs:
analyze:
name: Analyze Python
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@c3f298df8c1fea2fefe20c785e6aa00f32df8260 # v4.35.3
with:
languages: python
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@c3f298df8c1fea2fefe20c785e6aa00f32df8260 # v4.35.3
with:
category: /language:python