Retry API authentication errors since these can be transient

This commit is contained in:
Henry Mercer
2026-02-12 16:16:47 +00:00
parent 8ad4b6ec58
commit 43b46a19be
14 changed files with 81 additions and 0 deletions
+3
View File
@@ -36,6 +36,9 @@ test("getApiClient", async (t) => {
baseUrl: "http://api.github.localhost",
log: sinon.match.any,
userAgent: `CodeQL-Action/${actionsUtil.getActionVersion()}`,
retry: {
doNotRetry: [400, 410, 422, 451],
},
}),
);
});