Downgrade usage of retries.

This commit reverts:

f7363549ac
76b050a607
8dc52cdbed
This commit is contained in:
Federico Builes
2023-11-08 08:35:44 +01:00
parent 9f45b2463b
commit ded987cb3b
3 changed files with 5 additions and 10 deletions
+2 -3
View File
@@ -1,11 +1,10 @@
import * as github from '@actions/github'
import * as core from '@actions/core'
import * as githubUtils from '@actions/github/lib/utils'
import {retry} from '@octokit/plugin-retry'
import * as retry from '@octokit/plugin-retry'
import {RequestError} from '@octokit/request-error'
import {Octokit} from '@octokit/rest'
const retryingOctokit = Octokit.plugin(retry)
const retryingOctokit = githubUtils.GitHub.plugin(retry.retry)
const octo = new retryingOctokit(
githubUtils.getOctokitOptions(core.getInput('repo-token', {required: true}))
)