From 9fad9b2148b4cdfadfb0d597b79922199f52c0ba Mon Sep 17 00:00:00 2001 From: Jeff Wen Date: Thu, 14 Feb 2019 11:20:57 +0800 Subject: [PATCH] fix: links to incorrect pull request when updating (#145) --- src/tasks/processIssueComment/Repository/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tasks/processIssueComment/Repository/index.js b/src/tasks/processIssueComment/Repository/index.js index be1678ca..e46b4de8 100644 --- a/src/tasks/processIssueComment/Repository/index.js +++ b/src/tasks/processIssueComment/Repository/index.js @@ -162,7 +162,7 @@ class Repository { owner: this.owner, repo: this.repo, state: 'open', - head: branchName, + head: `${this.owner}:${branchName}`, }) return results.data[0].html_url } catch (error) {