Skip to content

Commit dd7077d

Browse files
committed
Update validation workflow.
Signed-off-by: alyssacgoins <[email protected]>
1 parent 6a99b26 commit dd7077d

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed

.github/workflows/validate-component-metadata-schema.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
4646
# If changes are detected in scripts/validate_metadata, validate all components.
4747
SCRIPT_DIFF=$(git diff --name-only --diff-filter=A $COMMIT_RANGE -- $SCRIPT_DIR)
48-
if [[ "$SCRIPT_DIFF" != "" ]]; then
48+
if [[ "$SCRIPT_DIFF" == "" ]]; then
4949
echo "Changes detected in critical script directory: $SCRIPT_DIR"
5050
ALL_COMPONENT_FILES=$(find components -mindepth 2 -maxdepth 2 -type d | \
5151
sed 's/^components\///' | \
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
approvers:
2+
- sample-approver
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: component_valid
2+
tier: third-party
3+
stability: alpha
4+
dependencies:
5+
kubeflow:
6+
- name: Pipelines
7+
version: '2.5.0'
8+
- name: Trainer
9+
version: '2.0.0'
10+
external_services:
11+
- name: Argo Workflows
12+
version: "3.6.0"
13+
tags:
14+
- training
15+
- evaluation
16+
lastVerified: 2025-03-15T00:00:00Z
17+
ci:
18+
skip_dependency_probe: false
19+
links:
20+
documentation: https://kubeflow.org/components/happy-path-component
21+
issue_tracker: https://github.com/kubeflow/kfp-components/issues

0 commit comments

Comments
 (0)