This commit is contained in:
ibakshay
2020-08-06 23:29:20 +02:00
parent 252051b8e3
commit 39639f8d5f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -13,7 +13,7 @@ async function getComment() {
const response = await octokit.issues.listComments({ owner: context.repo.owner, repo: context.repo.repo, issue_number: context.issue.number })
//TODO: check the below regex
return response.data.find(comment => comment.body.match(/.*CLA Assistant Lite.*/))
return response.data.find(comment => comment.body.match(/.*I have read the CLA Document and I hereby sign the CLA.*/))
} catch (e) {
core.setFailed(`Error occured when getting all the comments of the pull request: ${e.message}`)
}