This repository was archived by the owner on Apr 18, 2026. It is now read-only.
forked from verygoodplugins/streamdeck-mcp
-
Notifications
You must be signed in to change notification settings - Fork 0
67 lines (52 loc) · 1.3 KB
/
security.yml
File metadata and controls
67 lines (52 loc) · 1.3 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Security
on:
schedule:
- cron: "0 0 * * 0" # Weekly on Sunday
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
security-events: write
jobs:
codeql:
name: CodeQL Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: python
- name: Autobuild
uses: github/codeql-action/autobuild@v4
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
audit:
name: Dependency Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Install pip-audit
run: pip install pip-audit
- name: Install package dependencies
run: pip install -e .
- name: Audit dependencies
run: pip-audit
bandit:
name: Bandit Security Scan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Install bandit
run: pip install bandit
- name: Run bandit
run: bandit -r . -x .venv,tests -ll