From c2ffe0d43d94949ba0a1b3f729916d9752011d1b Mon Sep 17 00:00:00 2001 From: Alec Rajeev <13004609+alecrajeev@users.noreply.github.com> Date: Mon, 22 Jul 2024 16:38:41 -0400 Subject: [PATCH] bump --- dist/index.js | 7 +++++-- src/main.js | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 2e62002..d00e49c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -27474,16 +27474,19 @@ async function run() { // Check if the event is a pull request event or pull request target event if (github.context.eventName === 'pull_request' || github.context.eventName === 'pull_request_target') { - action(github.context, octokit); + startAction(github.context, octokit); } else { console.log('This action only runs on pull request events.'); } } +function startAction(context, api) { + core.log("startAction") +} + module.exports = { run } - /***/ }), diff --git a/src/main.js b/src/main.js index 9899fbc..4962f29 100644 --- a/src/main.js +++ b/src/main.js @@ -8,13 +8,16 @@ async function run() { // Check if the event is a pull request event or pull request target event if (github.context.eventName === 'pull_request' || github.context.eventName === 'pull_request_target') { - action(github.context, octokit); + startAction(github.context, octokit); } else { console.log('This action only runs on pull request events.'); } } +function startAction(context, api) { + core.log("startAction") +} + module.exports = { run } -