We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea746ca commit 5755e22Copy full SHA for 5755e22
lib/main.js
@@ -60,7 +60,7 @@ function run() {
60
const context = github.context;
61
console.log(JSON.stringify(context.payload))
62
var pullRequest = context.payload.pull_request
63
- if(pullRequest.base.ref == 'master') {
+ if(pullRequest.merged == true && pullRequest.base.ref == 'master') {
64
const pullRequestNumber = pullRequest.number
65
const octokit = new github.GitHub(process.env.GITHUB_TOKEN)
66
octokit.issues.listComments({
0 commit comments