From 120ab3178f095e364a048919d8b12a804b402274 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Sun, 14 Jan 2024 20:55:20 -0600 Subject: [PATCH] feat: Add max-retries parameter to action inputs --- action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/action.yml b/action.yml index 19e6833..fa40bb7 100644 --- a/action.yml +++ b/action.yml @@ -18,6 +18,10 @@ inputs: description: "Time (in seconds) to wait before querying the GitHub Releases API in the case of hitting a rate limit." required: false default: "60" + max-retries: + description: "The number of times that to try querying the GitHub Releases API in case of a rate-limited failure." + required: false + default: "3" runs: using: "node16" main: "dist/index.js"