forked from misiektoja/spotify_monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 1.15 KB
/
Copy pathcodeql.yml
File metadata and controls
41 lines (35 loc) · 1.15 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
name: CodeQL
on:
push:
branches: [main, dev]
pull_request:
workflow_dispatch:
schedule:
# A weekly run picks up new queries published after a change merged.
- cron: "41 5 * * 2"
permissions: {}
jobs:
analyze:
name: Analyze Python
runs-on: ubuntu-latest
permissions:
contents: read
actions: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8
with:
languages: python
# Python needs no compilation, so nothing is built before the database is created.
build-mode: none
# The config file carries the query suite and the one documented query exclusion.
config-file: ./.github/codeql/codeql-config.yml
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8
with:
category: "/language:python"