mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-04-02 06:48:48 +02:00
- Add github ping event handler - Move webhook data to testdata folder Signed-off-by: Liam Jarvis <jarviliam@gmail.com>
77 lines
1.8 KiB
JSON
77 lines
1.8 KiB
JSON
{
|
|
"ref": "refs/heads/master",
|
|
"before": "0000000000000000000000000000000000000000",
|
|
"after": "0a05129851238652bf806a400af89fa974ade739",
|
|
"compare_url": "",
|
|
"commits": [
|
|
{
|
|
"id": "0a05129851238652bf806a400af89fa974ade739",
|
|
"message": "New commit message\n",
|
|
"url": "http://gogs-server/john/repo-test/commit/0a05129851238652bf806a400af89fa974ade739",
|
|
"author": {
|
|
"name": "john",
|
|
"email": "john@example.com",
|
|
"username": "john"
|
|
},
|
|
"committer": {
|
|
"name": "john",
|
|
"email": "john@example.com",
|
|
"username": "john"
|
|
},
|
|
"added": [],
|
|
"removed": [],
|
|
"modified": [
|
|
"cm.yaml"
|
|
],
|
|
"timestamp": "2019-06-21T14:23:39Z"
|
|
}
|
|
],
|
|
"repository": {
|
|
"id": 1,
|
|
"owner": {
|
|
"id": 1,
|
|
"username": "john",
|
|
"login": "john",
|
|
"full_name": "",
|
|
"email": "john@example.com",
|
|
"avatar_url": ""
|
|
},
|
|
"name": "repo-test",
|
|
"full_name": "john/repo-test",
|
|
"description": "",
|
|
"private": false,
|
|
"fork": false,
|
|
"parent": null,
|
|
"empty": false,
|
|
"mirror": false,
|
|
"size": 122880,
|
|
"html_url": "http://gogs-server/john/repo-test",
|
|
"ssh_url": "git@gogs-server/repo-test.git",
|
|
"clone_url": "http://gogs-server/john/repo-test.git",
|
|
"website": "",
|
|
"stars_count": 0,
|
|
"forks_count": 0,
|
|
"watchers_count": 1,
|
|
"open_issues_count": 0,
|
|
"default_branch": "master",
|
|
"created_at": "2019-06-21T08:27:56Z",
|
|
"updated_at": "2019-06-21T14:22:52Z"
|
|
},
|
|
"pusher": {
|
|
"id": 1,
|
|
"username": "john",
|
|
"login": "john",
|
|
"full_name": "",
|
|
"email": "john@example.com",
|
|
"avatar_url": ""
|
|
},
|
|
"sender": {
|
|
"id": 1,
|
|
"username": "john",
|
|
"login": "john",
|
|
"full_name": "",
|
|
"email": "john@example.com",
|
|
"avatar_url": ""
|
|
}
|
|
}
|