forked from mu-editor/mu
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (36 loc) · 982 Bytes
/
Copy pathcodeql.yml
File metadata and controls
42 lines (36 loc) · 982 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
40
41
42
name: "CodeQL"
on:
push:
branches: '*'
pull_request:
branches: '*'
paths-ignore:
- '**/*.md'
- '**/*.rst'
schedule:
- cron: "3 2 * * 2"
jobs:
analyze:
timeout-minutes: 20
name: Analyze
runs-on: ubuntu-20.04
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies to help the code scanner
run: pip install .[dev]
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: python
config-file: ./.github/codeql/codeql-config.yml
queries: +security-and-quality
# Dependencies are installed manually above (pip install .[dev]); skip
# CodeQL's own dependency auto-install.
setup-python-dependencies: false
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2