mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-02 19:48:17 +00:00
Feat: Update Trivy Scan to Trigger Workflow on Changes to .py, .java, and Dockerfile Files (#19963)
* Updated trivy scan for running on changes in .java extension files and Dockerfile * Updated trivy scan for running on changes in .py extension files and Dockerfile * Updated paths --------- Co-authored-by: Tarun <tarun.p@deuexsolutions.com>
This commit is contained in:
parent
379c088f68
commit
7053b53b8c
@ -4,11 +4,8 @@ on:
|
||||
pull_request_target:
|
||||
types: [labeled, opened, synchronize, reopened]
|
||||
paths:
|
||||
- "ingestion/**"
|
||||
- "openmetadata-service/**"
|
||||
- "openmetadata-spec/src/main/resources/json/schema/**"
|
||||
- "pom.xml"
|
||||
- "Makefile"
|
||||
- "**/*.py"
|
||||
- "ingestion/operators/docker/Dockerfile.ci"
|
||||
|
||||
concurrency:
|
||||
group: trivy-ingestion-base-slim-scan-${{ github.head_ref || github.run_id }}
|
||||
|
||||
@ -4,11 +4,8 @@ on:
|
||||
pull_request_target:
|
||||
types: [labeled, opened, synchronize, reopened]
|
||||
paths:
|
||||
- "ingestion/**"
|
||||
- "openmetadata-service/**"
|
||||
- "openmetadata-spec/src/main/resources/json/schema/**"
|
||||
- "pom.xml"
|
||||
- "Makefile"
|
||||
- "**/*.py"
|
||||
- "ingestion/Dockerfile.ci"
|
||||
|
||||
concurrency:
|
||||
group: trivy-ingestion-scan-${{ github.head_ref || github.run_id }}
|
||||
|
||||
@ -3,15 +3,8 @@ on:
|
||||
pull_request_target:
|
||||
types: [labeled, opened, synchronize, reopened]
|
||||
paths:
|
||||
- "openmetadata-service/**"
|
||||
- "openmetadata-spec/src/main/resources/json/schema/**"
|
||||
- "openmetadata-dist/**"
|
||||
- "openmetadata-clients/**"
|
||||
- "common/**"
|
||||
- "pom.xml"
|
||||
- "yarn.lock"
|
||||
- "Makefile"
|
||||
- "bootstrap/**"
|
||||
- "**/*.java"
|
||||
- "docker/development/Dockerfile"
|
||||
concurrency:
|
||||
group: trivy-server-scan-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user