diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index a9eec6447fd..36e81275128 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -3,6 +3,11 @@ name: Trivy scan on: pull_request: branches: ["master", "release/**"] + path: + - '**/go.mod' + - '**/pom.xml' + - '**/requirements.txt' + - '**/*trivy*' # Declare default permissions as nothing. permissions: {} diff --git a/src/client/dfs/common.c b/src/client/dfs/common.c index 04f2867065e..2df3247026b 100644 --- a/src/client/dfs/common.c +++ b/src/client/dfs/common.c @@ -3,7 +3,6 @@ * * SPDX-License-Identifier: BSD-2-Clause-Patent */ - #define D_LOGFAC DD_FAC(dfs) #include diff --git a/src/client/java/daos-java/find_java_home.sh b/src/client/java/daos-java/find_java_home.sh index a3fea51196b..bb81ad3f096 100755 --- a/src/client/java/daos-java/find_java_home.sh +++ b/src/client/java/daos-java/find_java_home.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash + java_home_path=$JAVA_HOME if [ -n "$java_home_path" ] then diff --git a/utils/trivy/trivy.yaml b/utils/trivy/trivy.yaml index 293f7b1ba9f..2d3119efd37 100644 --- a/utils/trivy/trivy.yaml +++ b/utils/trivy/trivy.yaml @@ -1,6 +1,5 @@ cache: - backend: fs - clear: false + backend: memory dir: redis: ca: ""