-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 870 Bytes
/
Copy pathbaseline-codeql.yml
File metadata and controls
36 lines (31 loc) · 870 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: Baseline CodeQL (Default Configuration)
on:
workflow_dispatch:
inputs:
run_baseline:
description: 'Run baseline CodeQL scan'
required: true
default: 'true'
type: boolean
jobs:
baseline-analysis:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Initialize CodeQL (Default Configuration)
uses: github/codeql-action/init@v3
with:
languages: python
build-mode: none # Python supports 'none' build mode
- name: Perform CodeQL Analysis (Baseline)
uses: github/codeql-action/analyze@v3
with:
category: "/language:python/baseline-default"