-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 877 Bytes
/
codeql.yml
File metadata and controls
35 lines (32 loc) · 877 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
name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "37 6 * * 1" # Mondays at 06:37 UTC
workflow_dispatch:
permissions:
contents: read
jobs:
analyze:
name: Analyze Python
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
contents: read
strategy:
fail-fast: false
matrix:
language: [python]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: github/codeql-action/init@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.26.5
with:
languages: ${{ matrix.language }}
queries: security-extended
- uses: github/codeql-action/analyze@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.26.5
with:
category: "/language:${{ matrix.language }}"