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 authored 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": "[email protected]"
},
"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.