mirror of
https://github.com/github/codeql-action.git
synced 2026-10-31 01:49:43 +00:00
adjust string for handling rate limit error
This commit is contained in:
@@ -249,7 +249,7 @@ export async function deleteActionsCache(id: number) {
|
||||
export function wrapApiConfigurationError(e: unknown) {
|
||||
if (isHTTPError(e)) {
|
||||
if (
|
||||
e.message.includes("API rate limit exceeded for site ID installation") ||
|
||||
e.message.includes("API rate limit exceeded for installation") ||
|
||||
e.message.includes("commit not found") ||
|
||||
/^ref .* not found in this repository$/.test(e.message)
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user