diff --git a/index.js b/index.js index 96979d9..13df890 100644 --- a/index.js +++ b/index.js @@ -15,7 +15,9 @@ let gifURLs = [ async function runMain(){ try { - let message = ` \n` + let randInt = Math.floor(Math.random() * gifURLs.length - 1) + console.log(randInt) + let message = ` \n` const octokit = new Octokit({auth: core.getInput('token')}) let res = await octokit.rest.issues.createComment({ issue_number: github.context.payload.issue.number,