diff --git a/dist/index.js b/dist/index.js index 5cbc6d3..bd42b0e 100644 --- a/dist/index.js +++ b/dist/index.js @@ -32414,8 +32414,8 @@ const waitFor = (ms) => new Promise((r) => setTimeout(r, ms)); workflow_id: dispatchWorkflow, ref: branch, inputs: { - repo: config.input.owner + "/" + config.input.repo, - branch: config.input.branch, + repo: config.githubContext.owner + "/" + config.githubContext.repo, + branch: config.githubContext.branch, dispatchId, comment: config.input.prompt, isFromAction: true, diff --git a/src/index.js b/src/index.js index b3508bc..a33102c 100644 --- a/src/index.js +++ b/src/index.js @@ -30,8 +30,8 @@ const waitFor = (ms) => new Promise((r) => setTimeout(r, ms)); workflow_id: dispatchWorkflow, ref: branch, inputs: { - repo: config.input.owner + "/" + config.input.repo, - branch: config.input.branch, + repo: config.githubContext.owner + "/" + config.githubContext.repo, + branch: config.githubContext.branch, dispatchId, comment: config.input.prompt, isFromAction: true,