Files
charts/githooks/pre-commit/upstreamed
T

9 lines
274 B
Bash
Executable File

#!/bin/bash
if git diff --name-only --cached | grep '/upstreamed/'; then
printf '\n\U1F6AB Commit cancelled\n\nChanges detected in the "upstreamed" folder.\nPlease, implement them in the Helm Charts repository (https://github.com/helm/charts).\n'
exit 1
fi
exit 0