Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
alecrajeev committed Jul 22, 2024
1 parent 8d8da15 commit c2ffe0d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}



/***/ }),
Expand Down
7 changes: 5 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit c2ffe0d

Please sign in to comment.