diff --git a/.github/time/delegate.py b/.github/time/delegate.py index 98cc1fa..93fa7b2 100644 --- a/.github/time/delegate.py +++ b/.github/time/delegate.py @@ -82,7 +82,7 @@ def now() -> str: SECRET_ENV = re.compile(r"TOKEN|KEY|SECRET|PASSWORD", re.I) SECRET_SHAPES = [re.compile(p) for p in (r"sk-[A-Za-z0-9_-]{16,}", r"(?i)bearer\s+[A-Za-z0-9._~+/=-]{12,}", - r"(?i)x-access-token:[^@\s]+", r"://[^/\s:@]+:[^/\s@]+@", r"\b[0-9a-f]{40}\b(?=.*token)")] + r"(?i)x-access-token:[^@\s]+", r"://[^/\s:@]+:[^/\s@]+@")] def redact(text: str) -> str: