-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #93 from aman-harness/master
[CI-0]: Added Pr in issue
- Loading branch information
Showing
5 changed files
with
94 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
116 changes: 60 additions & 56 deletions
116
scm/driver/github/testdata/webhooks/comment.json.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,62 @@ | ||
{ | ||
"Action": "created", | ||
"Repo": { | ||
"ID": "309651765", | ||
"Namespace": "abc", | ||
"Name": "def-ci-webhook-test", | ||
"Perm": null, | ||
"Branch": "master", | ||
"Private": true, | ||
"Visibility": 0, | ||
"Clone": "https://github.com/abc/def-ci-webhook-test.git", | ||
"CloneSSH": "[email protected]:abc/def-ci-webhook-test.git", | ||
"Link": "https://github.com/abc/def-ci-webhook-test", | ||
"Created": "0001-01-01T00:00:00Z", | ||
"Updated": "0001-01-01T00:00:00Z" | ||
}, | ||
"Issue": { | ||
"Number": 2, | ||
"Title": "Update README.md", | ||
"Body": "", | ||
"Link": "https://github.com/abc/def-ci-webhook-test/pull/2", | ||
"Labels": null, | ||
"Closed": false, | ||
"Locked": false, | ||
"Author": { | ||
"Login": "lts-def", | ||
"Name": "", | ||
"Email": "", | ||
"Avatar": "https://avatars0.githubusercontent.com/u/10278482?v=4", | ||
"Created": "0001-01-01T00:00:00Z", | ||
"Updated": "0001-01-01T00:00:00Z" | ||
}, | ||
"Created": "2020-11-03T22:32:14Z", | ||
"Updated": "2020-12-29T05:49:14Z" | ||
}, | ||
"Comment": { | ||
"ID": 751955664, | ||
"Body": "trigger abc", | ||
"Author": { | ||
"Login": "lts-def", | ||
"Name": "", | ||
"Email": "", | ||
"Avatar": "https://avatars0.githubusercontent.com/u/10278482?v=4", | ||
"Created": "0001-01-01T00:00:00Z", | ||
"Updated": "0001-01-01T00:00:00Z" | ||
}, | ||
"Created": "2020-12-29T05:49:14Z", | ||
"Updated": "2020-12-29T05:49:14Z" | ||
}, | ||
"Sender": { | ||
"Login": "lts-def", | ||
"Name": "", | ||
"Email": "", | ||
"Avatar": "https://avatars0.githubusercontent.com/u/10278482?v=4", | ||
"Created": "0001-01-01T00:00:00Z", | ||
"Updated": "0001-01-01T00:00:00Z" | ||
} | ||
"Action":"created", | ||
"Repo":{ | ||
"ID":"309651765", | ||
"Namespace":"abc", | ||
"Name":"def-ci-webhook-test", | ||
"Perm":null, | ||
"Branch":"master", | ||
"Private":true, | ||
"Visibility":0, | ||
"Clone":"https://github.com/abc/def-ci-webhook-test.git", | ||
"CloneSSH":"[email protected]:abc/def-ci-webhook-test.git", | ||
"Link":"https://github.com/abc/def-ci-webhook-test", | ||
"Created":"0001-01-01T00:00:00Z", | ||
"Updated":"0001-01-01T00:00:00Z" | ||
}, | ||
"Issue":{ | ||
"Number":2, | ||
"Title":"Update README.md", | ||
"Body":"", | ||
"Link":"https://github.com/abc/def-ci-webhook-test/pull/2", | ||
"Labels":null, | ||
"Closed":false, | ||
"Locked":false, | ||
"Author":{ | ||
"Login":"lts-def", | ||
"Name":"", | ||
"Email":"", | ||
"Avatar":"https://avatars0.githubusercontent.com/u/10278482?v=4", | ||
"Created":"0001-01-01T00:00:00Z", | ||
"Updated":"0001-01-01T00:00:00Z" | ||
}, | ||
"PullRequest":{ | ||
"Link":"https://github.com/abc/def-ci-webhook-test/pull/2", | ||
"Diff":"https://github.com/abc/def-ci-webhook-test/pull/2.diff" | ||
}, | ||
"Created":"2020-11-03T22:32:14Z", | ||
"Updated":"2020-12-29T05:49:14Z" | ||
}, | ||
"Comment":{ | ||
"ID":751955664, | ||
"Body":"trigger abc", | ||
"Author":{ | ||
"Login":"lts-def", | ||
"Name":"", | ||
"Email":"", | ||
"Avatar":"https://avatars0.githubusercontent.com/u/10278482?v=4", | ||
"Created":"0001-01-01T00:00:00Z", | ||
"Updated":"0001-01-01T00:00:00Z" | ||
}, | ||
"Created":"2020-12-29T05:49:14Z", | ||
"Updated":"2020-12-29T05:49:14Z" | ||
}, | ||
"Sender":{ | ||
"Login":"lts-def", | ||
"Name":"", | ||
"Email":"", | ||
"Avatar":"https://avatars0.githubusercontent.com/u/10278482?v=4", | ||
"Created":"0001-01-01T00:00:00Z", | ||
"Updated":"0001-01-01T00:00:00Z" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters