mirror of
https://github.com/github/codeql-action.git
synced 2026-04-29 02:18:47 +00:00
Retry API authentication errors since these can be transient
This commit is contained in:
@@ -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],
|
||||
},
|
||||
}),
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user