Skip to content

Commit 88763c2

Browse files
authored
Enhance workflow triggers for OWASP Dependency Check
Added push trigger for main branch and updated schedule cron.
1 parent 37bca09 commit 88763c2

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/owasp-dependency-check.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,14 @@ on:
1212
pull_request:
1313
paths:
1414
- 'pom.xml'
15+
push:
16+
branches:
17+
- main
18+
paths:
19+
- '.github/workflows/owasp-dependency-check.yml'
1520
schedule:
16-
- cron: "4 23 * * *"
21+
# run every workday to keep cached db in sync
22+
- cron: "4 23 * * 1-5"
1723
timezone: 'Europe/Amsterdam'
1824
workflow_dispatch:
1925

0 commit comments

Comments
 (0)