feat: add @octokit/plugin-throttling to handle GH rate limits

This commit is contained in:
Brett Pechiney 2023-07-06 19:19:51 -04:00
parent 9fd47c87b5
commit 5a8d2e3d13
9 changed files with 1917 additions and 37 deletions

View file

@ -71,6 +71,12 @@ inputs:
draft:
description: 'Create a draft pull request. It is not possible to change draft status after creation except through the web interface'
default: false
retry-attempts:
description: 'Number of times throttled attempts should be retried before failing'
default: 10
minimum-retry-after:
description: 'Minimum time in seconds to wait before retry'
default: 60
outputs:
pull-request-number:
description: 'The pull request number'