Files
charts/githooks/pre-commit/kubeapps
Carlos Rodriguez Hernandez e75f1fca2b Implement suggestions
2019-09-10 08:10:10 +00:00

9 lines
303 B
Bash
Executable File

#!/bin/bash
if git diff --name-only --cached | grep '/kubeapps/'; then
printf '\n\U1F6AB Commit cancelled\n\nKubeapps changes detected in this repository.\nPlease, implement them in the kubeapps repository (https://github.com/kubeapps/kubeapps/tree/master/chart/kubeapps).\n'
exit 1
fi
exit 0