Skip to content

Commit 8528794

Browse files
committed
Rework bandit because their 'minimal complete example workflow' is a lie
1 parent c6164db commit 8528794

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/bandit.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
11
---
2-
name: Bandit Dynamic Analysis
2+
name: Bandit Security Scan
33

44
on:
5+
push:
6+
branches: ["master"]
7+
pull_request:
8+
branches: ["master"]
9+
schedule:
10+
- cron: "0 0 * * 0"
511
workflow_dispatch:
612

713
jobs:
814
analyze:
915
runs-on: ubuntu-latest
1016
permissions:
11-
# required for all workflows
1217
security-events: write
18+
env:
19+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
1320
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v6.0.2
23+
1424
- name: Perform Bandit Analysis
1525
uses: PyCQA/bandit-action@v1

0 commit comments

Comments
 (0)