Skip to content

Commit

Permalink
Update github.js
Browse files Browse the repository at this point in the history
  • Loading branch information
DeyoPP authored Oct 22, 2024
1 parent 25f3784 commit 97a3120
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@ async function lookForExistingComment(octokit, markdownPrefix) {
}

async function createPrComment(repoToken, markdown, updateCommentIfOneExists, commentIdentifier) {
if (github.context.eventName != 'pull_request') {
core.info('This event was not triggered by a pull_request. No comment will be created or updated.');
return;
}

const markdownPrefix = `<!-- im-open/process-jest-test-results ${commentIdentifier} -->`;
core.info(`The markdown prefix will be: '${markdownPrefix}'`);
Expand Down

0 comments on commit 97a3120

Please sign in to comment.