Skip to content

Commit 308c262

Browse files
committed
run on schedule
1 parent e9597e2 commit 308c262

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/bandit.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Scan Python code with Bandit
22

33
on:
44
workflow_dispatch:
5+
schedule:
6+
- cron: '0 3 * * *'
7+
58

69
permissions:
710
contents: read
@@ -20,4 +23,4 @@ jobs:
2023

2124
- name: Run Bandit
2225
run: |
23-
bandit -c devops/bandit.config -r .
26+
bandit -c devops/bandit.config -r . --exit-zero

0 commit comments

Comments
 (0)