mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-11 16:31:57 +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:
|
pull_request_target:
|
||||||
types: [labeled, opened, synchronize, reopened]
|
types: [labeled, opened, synchronize, reopened]
|
||||||
paths:
|
paths:
|
||||||
- "ingestion/**"
|
- "**/*.py"
|
||||||
- "openmetadata-service/**"
|
- "ingestion/operators/docker/Dockerfile.ci"
|
||||||
- "openmetadata-spec/src/main/resources/json/schema/**"
|
|
||||||
- "pom.xml"
|
|
||||||
- "Makefile"
|
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: trivy-ingestion-base-slim-scan-${{ github.head_ref || github.run_id }}
|
group: trivy-ingestion-base-slim-scan-${{ github.head_ref || github.run_id }}
|
||||||
|
|||||||
@ -4,11 +4,8 @@ on:
|
|||||||
pull_request_target:
|
pull_request_target:
|
||||||
types: [labeled, opened, synchronize, reopened]
|
types: [labeled, opened, synchronize, reopened]
|
||||||
paths:
|
paths:
|
||||||
- "ingestion/**"
|
- "**/*.py"
|
||||||
- "openmetadata-service/**"
|
- "ingestion/Dockerfile.ci"
|
||||||
- "openmetadata-spec/src/main/resources/json/schema/**"
|
|
||||||
- "pom.xml"
|
|
||||||
- "Makefile"
|
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: trivy-ingestion-scan-${{ github.head_ref || github.run_id }}
|
group: trivy-ingestion-scan-${{ github.head_ref || github.run_id }}
|
||||||
|
|||||||
@ -3,15 +3,8 @@ on:
|
|||||||
pull_request_target:
|
pull_request_target:
|
||||||
types: [labeled, opened, synchronize, reopened]
|
types: [labeled, opened, synchronize, reopened]
|
||||||
paths:
|
paths:
|
||||||
- "openmetadata-service/**"
|
- "**/*.java"
|
||||||
- "openmetadata-spec/src/main/resources/json/schema/**"
|
- "docker/development/Dockerfile"
|
||||||
- "openmetadata-dist/**"
|
|
||||||
- "openmetadata-clients/**"
|
|
||||||
- "common/**"
|
|
||||||
- "pom.xml"
|
|
||||||
- "yarn.lock"
|
|
||||||
- "Makefile"
|
|
||||||
- "bootstrap/**"
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: trivy-server-scan-${{ github.head_ref || github.run_id }}
|
group: trivy-server-scan-${{ github.head_ref || github.run_id }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user