adjust string for handling rate limit error · github/codeql-action@7b7ed63

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 7b7ed63

committed

adjust string for handling rate limit error

1 parent 608ccd6 commit 7b7ed63

File tree

3 files changed

+

3

-

3

lines changed

3 files changed

+

3

-

3

lines changed

Lines changed: 1 addition & 1 deletion

Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Lines changed: 1 addition & 1 deletion

Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Lines changed: 1 addition & 1 deletion

Original file line numberDiff line numberDiff line change

@@ -249,7 +249,7 @@ export async function deleteActionsCache(id: number) {

249249

export function wrapApiConfigurationError(e: unknown) {

250250

if (isHTTPError(e)) {

251251

if (

252-

e.message.includes("API rate limit exceeded for site ID installation") ||

252+

e.message.includes("API rate limit exceeded for installation") ||

253253

e.message.includes("commit not found") ||

254254

/^ref .* not found in this repository$/.test(e.message)

255255

) {

0 commit comments

Comments

 (0)