harness-drone/service/hook/parser/testdata/gitea_pull_open.json

47 lines
1.3 KiB
JSON
Raw Normal View History

2019-02-19 23:56:41 +00:00
{
"Action": "opened",
"Repo": {
"ID": "6589",
"Namespace": "jcitizen",
"Name": "my-repo",
"Perm": {
"Pull": false,
"Push": false,
"Admin": false
},
"Branch": "master",
"Private": false,
"Clone": "https://try.gitea.io/jcitizen/my-repo.git",
"CloneSSH": "git@try.gitea.io:jcitizen/my-repo.git",
"Link": "",
"Created": "0001-01-01T00:00:00Z",
"Updated": "0001-01-01T00:00:00Z"
},
"PullRequest": {
"Number": 1,
"Title": "Add License File",
"Body": "Using a BSD License",
"Sha": "2eba238e33607c1fa49253182e9fff42baafa1eb",
"Ref": "refs/pull/1/head",
"Source": "feature",
"Target": "master",
"Fork": "jcitizen/my-repo",
"Link": "https://try.gitea.io/jcitizen/my-repo/pulls/1",
"Closed": false,
"Merged": false,
"Author": {
"Login": "jcitizen",
"Name": "",
"Email": "jane@example.com",
"Avatar": "https://secure.gravatar.com/avatar/66f07ff48e6a9cb393de7a34e03bb52a?d=identicon"
},
"Created": "0001-01-01T00:00:00Z",
"Updated": "0001-01-01T00:00:00Z"
},
"Sender": {
"Login": "jcitizen",
"Name": "",
"Email": "jane@example.com",
"Avatar": "https://secure.gravatar.com/avatar/66f07ff48e6a9cb393de7a34e03bb52a?d=identicon"
}
}