From 4acaf29aa0c4bd192ae920afcb493315f5d8fe8b Mon Sep 17 00:00:00 2001 From: HarriPra <157723129+HarriPra@users.noreply.github.com> Date: Mon, 18 Mar 2024 16:00:32 +0000 Subject: [PATCH] add console.logs for debugging --- .github/actions/repo-dispatch/index.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/actions/repo-dispatch/index.js b/.github/actions/repo-dispatch/index.js index 099ad3d87..b907e4b27 100644 --- a/.github/actions/repo-dispatch/index.js +++ b/.github/actions/repo-dispatch/index.js @@ -2,7 +2,6 @@ const core = require('@actions/core'); const github = require('@actions/github'); -// The main function that wraps the action logic async function run() {//change function name try { // Get inputs defined in action.yml using the core library @@ -16,6 +15,10 @@ async function run() {//change function name // Initialize the Octokit client with the provided token for GitHub API calls const client = github.getOctokit(token); + console.log("THIS IS THE OWNER " + owner) + console.log("THIS IS THE REPO " + repo) + console.log("THIS IS THE EVENT TYPE " + eventType) + // Send a repository dispatch event to the specified repository await client.repos.createDispatchEvent({ owner, // Repository owner @@ -36,5 +39,4 @@ async function run() {//change function name // Execute the run function run(); -//make my own workflow -// \ No newline at end of file +