Skip to content

Commit 3bed759

Browse files
Copilotchrisburr
andcommitted
Fix find command to explicitly exclude subcharts
Co-authored-by: chrisburr <[email protected]>
1 parent 344fefb commit 3bed759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/version-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
2828
# Find all top-level Chart.yaml files (exclude subcharts in charts/ subdirectories)
2929
# The chart-releaser only releases top-level charts, so we only check those
30-
CHART_FILES=$(find . -maxdepth 2 -name "Chart.yaml" -type f | grep -v "/\.")
30+
CHART_FILES=$(find . -name "Chart.yaml" -not -path "*/charts/*" -type f | grep -v "/\.")
3131
3232
echo "Checking Chart.yaml files for version bumps..."
3333

0 commit comments

Comments
 (0)