Skip to content
Snippets Groups Projects
Commit 4f071467 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(github): sanitize with and without x-access-token

parent 879966ac
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,7 @@ export function sanitize(input: string): string { ...@@ -28,6 +28,7 @@ export function sanitize(input: string): string {
export function add(secret: string): void { export function add(secret: string): void {
secrets.add(secret); secrets.add(secret);
secrets.add(secret?.replace('x-access-token:', '')); // GitHub App tokens
} }
export function clear(): void { export function clear(): void {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment