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");