diff --git a/.licenses/npm/@octokit/plugin-retry.dep.yml b/.licenses/npm/@octokit/plugin-retry.dep.yml index b30e59312..83d1c7b62 100644 --- a/.licenses/npm/@octokit/plugin-retry.dep.yml +++ b/.licenses/npm/@octokit/plugin-retry.dep.yml @@ -1,6 +1,6 @@ --- name: "@octokit/plugin-retry" -version: 5.0.4 +version: 5.0.5 type: npm summary: Automatic retry plugin for octokit homepage: diff --git a/dist/index.js b/dist/index.js index 5cb19babf..0f29071f1 100644 --- a/dist/index.js +++ b/dist/index.js @@ -4476,13 +4476,13 @@ async function requestWithGraphqlErrorHandling(state, octokit, request, options) } // pkg/dist-src/index.js -var VERSION = "5.0.4"; +var VERSION = "5.0.5"; function retry(octokit, octokitOptions) { const state = Object.assign( { enabled: true, retryAfterBaseValue: 1e3, - doNotRetry: [400, 401, 403, 404, 422], + doNotRetry: [400, 401, 403, 404, 422, 451], retries: 3 }, octokitOptions.retry diff --git a/package-lock.json b/package-lock.json index 2914c0f9c..f4c40e18a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@actions/core": "^1.10.0", "@actions/github": "^5.1.1", - "@octokit/plugin-retry": "^5.0.4", + "@octokit/plugin-retry": "^5.0.5", "jest-each": "^29.6.1", "js-yaml": "^4.1.0", "minimatch": "^7.4.3" @@ -1246,9 +1246,9 @@ } }, "node_modules/@octokit/plugin-retry": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-5.0.4.tgz", - "integrity": "sha512-hw00fDIhOgijy4aSxS6weWF5uqZVeoiC/AptLLyjL8KFCJRGRaXfcfgj76h/Z3cSLTjRsEIQnNCTig8INttL/g==", + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-5.0.5.tgz", + "integrity": "sha512-sB1RWMhSrre02Atv95K6bhESlJ/sPdZkK/wE/w1IdSCe0yM6FxSjksLa6T7aAvxvxlLKzQEC4KIiqpqyov1Tbg==", "dependencies": { "@octokit/request-error": "^4.0.1", "@octokit/types": "^10.0.0", @@ -6977,9 +6977,9 @@ } }, "@octokit/plugin-retry": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-5.0.4.tgz", - "integrity": "sha512-hw00fDIhOgijy4aSxS6weWF5uqZVeoiC/AptLLyjL8KFCJRGRaXfcfgj76h/Z3cSLTjRsEIQnNCTig8INttL/g==", + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-5.0.5.tgz", + "integrity": "sha512-sB1RWMhSrre02Atv95K6bhESlJ/sPdZkK/wE/w1IdSCe0yM6FxSjksLa6T7aAvxvxlLKzQEC4KIiqpqyov1Tbg==", "requires": { "@octokit/request-error": "^4.0.1", "@octokit/types": "^10.0.0", diff --git a/package.json b/package.json index 95380d3e4..d03fa7146 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "dependencies": { "@actions/core": "^1.10.0", "@actions/github": "^5.1.1", - "@octokit/plugin-retry": "^5.0.4", + "@octokit/plugin-retry": "^5.0.5", "jest-each": "^29.6.1", "js-yaml": "^4.1.0", "minimatch": "^7.4.3"