harness-drone/service/hook/parser/testdata/gitea_pull_open.json
2019-02-19 15:56:41 -08:00

47 lines
No EOL
1.3 KiB
JSON

{
"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"
}
}