From 22c9efff538c3f054359c75628e11db4655fe52f Mon Sep 17 00:00:00 2001 From: tpikachu <46133358+tpikachu@users.noreply.github.com> Date: Fri, 23 Feb 2024 11:57:02 -0600 Subject: [PATCH] use testdriver repo --- dist/index.js | 7 +++++-- src/index.js | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 50347b8..5cbc6d3 100644 --- a/dist/index.js +++ b/dist/index.js @@ -32398,8 +32398,8 @@ const waitFor = (ms) => new Promise((r) => setTimeout(r, ms)); (async function () { const owner = "replayableio"; - const repo = "testdriver-dev"; - const branch = "main"; + const repo = "testdriver"; + const branch = "michael/flag-based-action-or-bot"; const dispatchWorkflow = "interpret-comment.yml"; const octokit = github.getOctokit(process.env.GH_TOKEN); @@ -32414,8 +32414,11 @@ 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, dispatchId, comment: config.input.prompt, + isFromAction: true, }, } ); diff --git a/src/index.js b/src/index.js index a1110c8..b3508bc 100644 --- a/src/index.js +++ b/src/index.js @@ -14,8 +14,8 @@ const waitFor = (ms) => new Promise((r) => setTimeout(r, ms)); (async function () { const owner = "replayableio"; - const repo = "testdriver-dev"; - const branch = "main"; + const repo = "testdriver"; + const branch = "michael/flag-based-action-or-bot"; const dispatchWorkflow = "interpret-comment.yml"; const octokit = github.getOctokit(process.env.GH_TOKEN); @@ -30,8 +30,11 @@ 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, dispatchId, comment: config.input.prompt, + isFromAction: true, }, } );