We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 390251e commit e96a604Copy full SHA for e96a604
get-webhook-event-payload.js
@@ -12,7 +12,7 @@
12
while (args.length) {
13
let option = args.shift()
14
15
- const issueCommentMatch = option.match(/^https:\/\/github\.com\/([^/]+)\/([^/]+)\/pull\/\d+#issuecomment-(\d+)$/)
+ const issueCommentMatch = option.match(/^https:\/\/github\.com\/([^/]+)\/([^/]+)\/(?:pull|issues)\/\d+#issuecomment-(\d+)$/)
16
if (issueCommentMatch) {
17
eventType = 'issue_comment'
18
const githubRequest = require('./GitForWindowsHelper/github-api-request')
0 commit comments