diff --git a/lib/main.js b/lib/main.js index 69f5713d..bc8d0c67 100644 --- a/lib/main.js +++ b/lib/main.js @@ -23,7 +23,7 @@ function run() { const context = github.context; const defaultUrl = `https://github.com/${context.repo.owner}/${context.repo.repo}/commit/${context.sha}/checks`; const token = core.getInput("token", { required: true }); - const url = core.getInput("target-url", { required: false }) || defaultUrl; + const url = core.getInput("target_url", { required: false }) || defaultUrl; const environment = core.getInput("environment", { required: false }) || "production"; const description = core.getInput("description", { required: false }); const initialStatus = core.getInput("initial_status", {