From 60eacef49e0862599e5dd15c38e963e5e724627f Mon Sep 17 00:00:00 2001 From: ravixalgorithm <11aravipratapsingh@gmail.com> Date: Thu, 1 Oct 2026 21:39:59 +0530 Subject: [PATCH 1/2] Test the action: a file with a key and a suppression --- src/demo-leak.ts | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 src/demo-leak.ts diff --git a/src/demo-leak.ts b/src/demo-leak.ts new file mode 100644 index 0000000..58ae450 --- /dev/null +++ b/src/demo-leak.ts @@ -0,0 +1,2 @@ +// @ts-ignore +export const token: string = "ghp_" + "Zq9rT4vWxyKm2Lp8Nc1Hs6Kd3Vb7Qe5Tr0Uy"; From b621c34f20e1c60556669b280db9f5400f863cc7 Mon Sep 17 00:00:00 2001 From: ravixalgorithm <11aravipratapsingh@gmail.com> Date: Thu, 1 Oct 2026 21:41:59 +0530 Subject: [PATCH 2/2] Now with a literal key, so the gate has something high to fail on --- src/demo-leak.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/demo-leak.ts b/src/demo-leak.ts index 58ae450..5471d5e 100644 --- a/src/demo-leak.ts +++ b/src/demo-leak.ts @@ -1,2 +1,2 @@ // @ts-ignore -export const token: string = "ghp_" + "Zq9rT4vWxyKm2Lp8Nc1Hs6Kd3Vb7Qe5Tr0Uy"; +export const token: string = "ghp_Zq9rT4vWxyKm2Lp8Nc1Hs6Kd3Vb7Qe5Tr0Uy";