mirror of
https://github.com/selfxyz/self.git
synced 2026-01-09 14:48:06 -05:00
* chore: centralize license header scripts * chore: run license header checks from root * add header to other files * add header to bundle * add migration script and update check license headers * convert license to mobile sdk * migrate license headers * remove headers from common; convert remaining * fix headers * add license header checks
15 lines
593 B
Plaintext
Executable File
15 lines
593 B
Plaintext
Executable File
if ! yarn gitleaks; then
|
|
echo "❌ Gitleaks scan failed. Please review the output above and fix any issues."
|
|
echo "💡 To skip this check temporarily, use: git commit --no-verify"
|
|
exit 1
|
|
fi
|
|
|
|
# Check license headers
|
|
echo "🔍 Checking license headers..."
|
|
if ! node scripts/check-license-headers.mjs --check; then
|
|
echo "❌ License header check failed. Please review the output above and fix any issues."
|
|
echo "💡 You can auto-fix some issues with: node scripts/check-license-headers.mjs --fix"
|
|
echo "💡 To skip this check temporarily, use: git commit --no-verify"
|
|
exit 1
|
|
fi
|