Skip to content

Commit

Permalink
Merge pull request #7 from Fdawgs/chore/tidy
Browse files Browse the repository at this point in the history
chore(package): add repository, bugs, and homepage values
  • Loading branch information
salmanm committed Feb 12, 2021
2 parents b7b0c82 + bb65bcc commit 712c31c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
"email": "SalmanMitha@gmail.com"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/fastify/github-action-merge-dependabot.git"
},
"bugs": {
"url": "https://github.com/fastify/github-action-merge-dependabot/issues"
},
"homepage": "https://github.com/fastify/github-action-merge-dependabot#readme",
"dependencies": {
"@actions/core": "^1.2.6",
"@actions/github": "^4.0.0"
Expand Down
5 changes: 2 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,13 @@ async function run () {
merge_method: MERGE_METHOD
})


if (MERGE_COMMENT) {
await octokit.issues.createComment({
owner,
repo,
issue_number: prNumber,
body: MERGE_COMMENT,
});
body: MERGE_COMMENT
})
}
} catch (error) {
core.setFailed(error.message)
Expand Down

0 comments on commit 712c31c

Please sign in to comment.