Skip to content

Commit d4b4281

Browse files
committed
chore: update workflow to trigger trivy on specific changes
1 parent d6557a6 commit d4b4281

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/trivy-frontend.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
branches:
1212
- main
1313
- develop
14+
paths:
15+
- "frontend/package.json"
16+
- "frontend/yarn.lock"
17+
- "frontend/Dockerfile"
1418

1519
env:
1620
IMAGE_NAME: frontend

0 commit comments

Comments
 (0)