From a4c5ac881a8d44653deac66b73f9d65d42c55344 Mon Sep 17 00:00:00 2001 From: Henri Maurer Date: Wed, 7 Jun 2023 10:10:21 +0100 Subject: [PATCH] disable caching --- src/dependency-graph.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/dependency-graph.ts b/src/dependency-graph.ts index a3c03d1..7532104 100644 --- a/src/dependency-graph.ts +++ b/src/dependency-graph.ts @@ -31,7 +31,10 @@ export async function compare({ url: '/repos/{owner}/{repo}/dependency-graph/compare/{basehead}', owner, repo, - basehead: `${baseRef}...${headRef}` + basehead: `${baseRef}...${headRef}`, + headers: { + 'If-None-Match': '' + } }, response => { if (