Skip to content

Commit e75f27d

Browse files
authored
ci: Add Bandit security linter to CI (#252)
Introduce Bandit to CI checks. Fixes: #251 🦕
1 parent 61df7d0 commit e75f27d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/security.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Bandit
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
analyze:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
security-events: write
11+
actions: read
12+
contents: read
13+
steps:
14+
- name: Perform Bandit Analysis
15+
uses: PyCQA/bandit-action@v1
16+
with:
17+
severity: medium
18+
confidence: medium
19+
targets: "src/a2a"

0 commit comments

Comments
 (0)