Skip to content

Commit

Permalink
Merge pull request #2 from JakePartusch/v1
Browse files Browse the repository at this point in the history
fix: fixing max timeout reference
  • Loading branch information
JakePartusch authored Mar 21, 2020
2 parents a0de046 + 0ad6305 commit 13daa61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 13daa61

Please sign in to comment.