Skip to content

Commit

Permalink
Merge pull request #32 from grom72/grom72/trivy-on-shedule
Browse files Browse the repository at this point in the history
Grom72/trivy on shedule
  • Loading branch information
grom72 authored Sep 24, 2024
2 parents a6d2773 + d85efeb commit 29c1efe
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
# SPDX-License-Identifier: BSD-2-Clause-Patent
# Copyright (C) 2024 Intel Corporation.

name: Trivy scan

on:
pull_request:
schedule:
- cron: '45 8 * * *'

push:
branches: ["master", "release/**"]

pull_request:
paths:
- '**/go.mod'
- '**/pom.xml'
- '**/requirements.txt'
- '**/*trivy*'

# Declare default permissions as nothing.
permissions: {}

Expand Down
3 changes: 1 addition & 2 deletions utils/trivy/trivy.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cache:
backend: fs
clear: false
backend: memory
dir:
redis:
ca: ""
Expand Down

0 comments on commit 29c1efe

Please sign in to comment.