mirror of
https://github.com/helm/charts.git
synced 2026-08-23 14:27:18 +00:00
Adding a CI check for the NOTES.txt file (#2453)
Points to docs when file missing to point user to a fix Ref #2373
This commit is contained in:
committed by
Adnan Abdulhussein
parent
74bd046ed1
commit
8ca39ffce9
@@ -111,6 +111,15 @@ for directory in ${CHANGED_FOLDERS}; do
|
||||
yamllinter ${directory}
|
||||
|
||||
semvercompare ${directory}
|
||||
|
||||
# Check for the existance of the NOTES.txt file. This is required for charts
|
||||
# in this repo.
|
||||
if [ ! -f ${directory}/templates/NOTES.txt ]; then
|
||||
echo "Error NOTES.txt template not found. Please create one."
|
||||
echo "For more information see https://docs.helm.sh/developing_charts/#chart-license-readme-and-notes"
|
||||
exitCode=1
|
||||
fi
|
||||
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user