From 0ad630560bb2d315e289042408c401550e66cb2c Mon Sep 17 00:00:00 2001 From: Jacob Partusch Date: Tue, 7 Jan 2020 08:43:30 -0600 Subject: [PATCH] fix: fixing max timeout reference --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index c4df2b10..435fd8bd 100644 --- a/index.js +++ b/index.js @@ -24,7 +24,7 @@ const run = async () => { "Action must be run in conjunction with the `pull_request` event" ); } - const MAX_TIMEOUT = Number(core.getInput("site_name")) || 60; + const MAX_TIMEOUT = Number(core.getInput("max_timeout")) || 60; const siteName = core.getInput("site_name"); if (!siteName) { core.setFailed("Required field `site_name` was not provided");