remove olixero branding

This commit is contained in:
2026-07-13 20:56:50 +02:00
parent 40c822d3bf
commit 040a4aee37
16 changed files with 47 additions and 157 deletions
+2 -2
View File
@@ -94,14 +94,14 @@ export function sha256(value: string): string {
}
export function marker(value: Marker): string {
return `<!-- olixero-ci-agent:${JSON.stringify(value)} -->`;
return `<!-- gitea-agent:${JSON.stringify(value)} -->`;
}
export function parseMarker(
body: string,
kind?: Marker["kind"],
): Marker | undefined {
const match = body.match(/<!-- olixero-ci-agent:(\{[^\n]*\}) -->/);
const match = body.match(/<!-- gitea-agent:(\{[^\n]*\}) -->/);
if (!match?.[1]) return undefined;
try {
const value = JSON.parse(match[1]) as Marker;