Merge pull request #1305 from ZaneH/feat/handle-github-webhook

Implement GitHub-compatible webhook
This commit is contained in:
Puyodead1 authored and GitHub committed 2025-07-12 12:56:00 -04:00
commit 9347a3ec6f
4 files changed
+724 -147

No files matched your search

+10
View File
@@ -22,3 +22,13 @@ export function trimSpecial(str?: string): string {
if (!str) return "";
return str.replace(SPECIAL_CHAR, "").trim();
}
/**
* Capitalizes the first letter of a string.
* @param str The string to capitalize.
* @returns The capitalized string.
*/
export function capitalize(str: string): string {
if (!str) return "";
return str.charAt(0).toUpperCase() + str.slice(1);
}