Skip to content

Commit

Permalink
refactor: Remove unnecessary code in ci.helm-lint.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-bisonai committed Feb 12, 2024
1 parent 61d1d94 commit 8395cf6
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/ci.helm-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,7 @@ jobs:
dir=$(dirname $file)
if [ -f "$dir/Chart.yaml" ]; then
if ! helm lint $dir; then
failed_services+="'$(basename $dir)', "
exit 1
fi
fi
done
if [ -n "$failed_services" ]; then
# Remove the trailing comma and space
failed_services=${failed_services%??}
echo "Lint failed services: $failed_services" >> $GITHUB_OUTPUT
exit 1
fi

0 comments on commit 8395cf6

Please sign in to comment.