Skip to content

Commit

Permalink
add console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
HarriPra committed Mar 18, 2024
1 parent cbb00bc commit be766ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/actions/repo-dispatch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ async function run() {//change function name
console.log("THIS IS THE CLIENT PAYLOAD " + clientPayload)

console.log("THIS IS THE CLIENT " + JSON.stringify(client))
console.log("THIS IS THE CLIENT " + JSON.stringify(client.rest.repos))
// Send a repository dispatch event to the specified repository
await client.rest.repos.createDispatchEvent({
owner, // Repository owner
Expand All @@ -32,8 +33,6 @@ async function run() {//change function name
client_payload: JSON.parse(clientPayload || {}),
});



// Log a success message to the console
console.log(`Dispatch event sent to ${targetRepo}: ${eventType}`);
} catch (error) {
Expand Down

0 comments on commit be766ba

Please sign in to comment.