mirror of
https://github.com/github/codeql-action.git
synced 2026-04-27 09:18:47 +00:00
Retry API authentication errors since these can be transient
This commit is contained in:
Generated
+6
@@ -103417,6 +103417,12 @@ function createApiClientWithDetails(apiDetails, { allowExternal = false } = {})
|
||||
info: core5.info,
|
||||
warn: core5.warning,
|
||||
error: core5.error
|
||||
},
|
||||
retry: {
|
||||
// The default is 400, 401, 403, 404, 410, 422, and 451. We have observed transient errors
|
||||
// with authentication, so we remove 401, 403, and 404 from the default list to ensure that
|
||||
// these errors are retried.
|
||||
doNotRetry: [400, 410, 422, 451]
|
||||
}
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user