From 211bd95504f3451a1564ca01575f2074cae5c66c Mon Sep 17 00:00:00 2001 From: Samuel El-Borai Date: Wed, 25 Oct 2023 12:33:16 +0200 Subject: [PATCH] Use default octokit plugin doNotRetry list --- src/github.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/github.ts b/src/github.ts index d8b290016..2caddaf36 100644 --- a/src/github.ts +++ b/src/github.ts @@ -329,11 +329,6 @@ export class GitHub { retry: { retries: options.retries ?? 0, retryAfter: 3, // 3 seconds - doNotRetry: [ - '403', // Used by GitHub when throttling - '429', // Too Many Request - '404', // Not Found - ], }, throttle: { enabled: throttlingRetries > 0,