Browse Source

Re-run after refactor

Signed-off-by: jolheiser <john.olheiser@gmail.com>
main
jolheiser 3 weeks ago
parent
commit
c46c4f78ea
Signed by: jolheiser GPG Key ID: B853ADA5DA7BBF7A
  1. 8
      events/create.json
  2. 6
      events/delete.json
  3. 18
      events/fork.json
  4. 24
      events/issue_assign.json
  5. 32
      events/issue_comment.json
  6. 24
      events/issue_label.json
  7. 24
      events/issue_milestone.json
  8. 24
      events/issues.json
  9. 46
      events/pull_request.json
  10. 44
      events/pull_request_assign.json
  11. 266
      events/pull_request_comment.json
  12. 44
      events/pull_request_label.json
  13. 44
      events/pull_request_milestone.json
  14. 44
      events/pull_request_review_approved.json
  15. 44
      events/pull_request_review_rejected.json
  16. 46
      events/pull_request_sync.json
  17. 24
      events/push.json
  18. 14
      events/release.json
  19. 6
      events/repository.json
  20. 2
      generate.go

8
events/create.json

@ -1,9 +1,9 @@
{
"sha": "d14f36e0cce9c679142a6312134213ce3945dad4",
"sha": "371222b7ac653788312502df6c281828a312edf5",
"ref": "release",
"ref_type": "tag",
"repository": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -49,8 +49,8 @@
"release_counter": 0,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:05Z",
"permissions": {
"admin": false,
"push": false,

6
events/delete.json

@ -3,7 +3,7 @@
"ref_type": "branch",
"pusher_type": "user",
"repository": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -49,8 +49,8 @@
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:53Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:10Z",
"permissions": {
"admin": false,
"push": false,

18
events/fork.json

@ -1,6 +1,6 @@
{
"forkee": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -46,8 +46,8 @@
"release_counter": 0,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:47Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:05Z",
"permissions": {
"admin": false,
"push": true,
@ -73,7 +73,7 @@
"mirror_interval": ""
},
"repository": {
"id": 28316,
"id": 28349,
"owner": {
"id": 7886,
"login": "Etzelia",
@ -104,7 +104,7 @@
"fork": true,
"template": false,
"parent": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -150,8 +150,8 @@
"release_counter": 0,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:47Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:05Z",
"permissions": {
"admin": true,
"push": true,
@ -191,8 +191,8 @@
"release_counter": 0,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:48Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:05Z",
"updated_at": "2021-10-08T19:45:05Z",
"permissions": {
"admin": true,
"push": true,

24
events/issue_assign.json

@ -2,7 +2,7 @@
"action": "assigned",
"number": 1,
"issue": {
"id": 27440,
"id": 27450,
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/issues/1",
"html_url": "https://try.gitea.io/jolheiser/gitea-webhook/issues/1",
"number": 1,
@ -35,22 +35,22 @@
"ref": "",
"labels": [
{
"id": 15259,
"id": 15280,
"name": "bug",
"color": "ee0701",
"description": "Something is not working",
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15259"
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15280"
}
],
"milestone": {
"id": 1542,
"id": 1544,
"title": "Milestone 1",
"description": "Milestone Description",
"state": "open",
"open_issues": 0,
"closed_issues": 0,
"created_at": "2021-10-07T05:10:46Z",
"updated_at": "2021-10-07T05:10:46Z",
"created_at": "2021-10-08T19:45:03Z",
"updated_at": "2021-10-08T19:45:03Z",
"closed_at": null,
"due_on": null
},
@ -103,20 +103,20 @@
"state": "open",
"is_locked": false,
"comments": 0,
"created_at": "2021-10-07T05:10:48Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:06Z",
"updated_at": "2021-10-08T19:45:06Z",
"closed_at": null,
"due_date": null,
"pull_request": null,
"repository": {
"id": 28315,
"id": 28348,
"name": "gitea-webhook",
"owner": "jolheiser",
"full_name": "jolheiser/gitea-webhook"
}
},
"repository": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -162,8 +162,8 @@
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:05Z",
"permissions": {
"admin": true,
"push": true,

32
events/issue_comment.json

@ -1,7 +1,7 @@
{
"action": "created",
"issue": {
"id": 27440,
"id": 27450,
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/issues/1",
"html_url": "https://try.gitea.io/jolheiser/gitea-webhook/issues/1",
"number": 1,
@ -34,22 +34,22 @@
"ref": "",
"labels": [
{
"id": 15259,
"id": 15280,
"name": "bug",
"color": "ee0701",
"description": "Something is not working",
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15259"
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15280"
}
],
"milestone": {
"id": 1542,
"id": 1544,
"title": "Milestone 1",
"description": "Milestone Description",
"state": "open",
"open_issues": 1,
"closed_issues": 0,
"created_at": "2021-10-07T05:10:46Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:03Z",
"updated_at": "2021-10-08T19:45:06Z",
"closed_at": null,
"due_on": null
},
@ -102,21 +102,21 @@
"state": "open",
"is_locked": false,
"comments": 0,
"created_at": "2021-10-07T05:10:48Z",
"updated_at": "2021-10-07T05:10:49Z",
"created_at": "2021-10-08T19:45:06Z",
"updated_at": "2021-10-08T19:45:06Z",
"closed_at": null,
"due_date": null,
"pull_request": null,
"repository": {
"id": 28315,
"id": 28348,
"name": "gitea-webhook",
"owner": "jolheiser",
"full_name": "jolheiser/gitea-webhook"
}
},
"comment": {
"id": 92781,
"html_url": "https://try.gitea.io/jolheiser/gitea-webhook/issues/1#issuecomment-92781",
"id": 92808,
"html_url": "https://try.gitea.io/jolheiser/gitea-webhook/issues/1#issuecomment-92808",
"pull_request_url": "",
"issue_url": "https://try.gitea.io/jolheiser/gitea-webhook/issues/1",
"user": {
@ -144,11 +144,11 @@
"original_author": "",
"original_author_id": 0,
"body": "Issue Comment",
"created_at": "2021-10-07T05:10:49Z",
"updated_at": "2021-10-07T05:10:49Z"
"created_at": "2021-10-08T19:45:06Z",
"updated_at": "2021-10-08T19:45:06Z"
},
"repository": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -194,8 +194,8 @@
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:05Z",
"permissions": {
"admin": true,
"push": true,

24
events/issue_label.json

@ -2,7 +2,7 @@
"action": "label_updated",
"number": 1,
"issue": {
"id": 27440,
"id": 27450,
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/issues/1",
"html_url": "https://try.gitea.io/jolheiser/gitea-webhook/issues/1",
"number": 1,
@ -35,22 +35,22 @@
"ref": "",
"labels": [
{
"id": 15259,
"id": 15280,
"name": "bug",
"color": "ee0701",
"description": "Something is not working",
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15259"
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15280"
}
],
"milestone": {
"id": 1542,
"id": 1544,
"title": "Milestone 1",
"description": "Milestone Description",
"state": "open",
"open_issues": 0,
"closed_issues": 0,
"created_at": "2021-10-07T05:10:46Z",
"updated_at": "2021-10-07T05:10:46Z",
"created_at": "2021-10-08T19:45:03Z",
"updated_at": "2021-10-08T19:45:03Z",
"closed_at": null,
"due_on": null
},
@ -103,20 +103,20 @@
"state": "open",
"is_locked": false,
"comments": 0,
"created_at": "2021-10-07T05:10:48Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:06Z",
"updated_at": "2021-10-08T19:45:06Z",
"closed_at": null,
"due_date": null,
"pull_request": null,
"repository": {
"id": 28315,
"id": 28348,
"name": "gitea-webhook",
"owner": "jolheiser",
"full_name": "jolheiser/gitea-webhook"
}
},
"repository": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -162,8 +162,8 @@
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:05Z",
"permissions": {
"admin": true,
"push": true,

24
events/issue_milestone.json

@ -2,7 +2,7 @@
"action": "milestoned",
"number": 1,
"issue": {
"id": 27440,
"id": 27450,
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/issues/1",
"html_url": "https://try.gitea.io/jolheiser/gitea-webhook/issues/1",
"number": 1,
@ -35,22 +35,22 @@
"ref": "",
"labels": [
{
"id": 15259,
"id": 15280,
"name": "bug",
"color": "ee0701",
"description": "Something is not working",
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15259"
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15280"
}
],
"milestone": {
"id": 1542,
"id": 1544,
"title": "Milestone 1",
"description": "Milestone Description",
"state": "open",
"open_issues": 0,
"closed_issues": 0,
"created_at": "2021-10-07T05:10:46Z",
"updated_at": "2021-10-07T05:10:46Z",
"created_at": "2021-10-08T19:45:03Z",
"updated_at": "2021-10-08T19:45:03Z",
"closed_at": null,
"due_on": null
},
@ -103,20 +103,20 @@
"state": "open",
"is_locked": false,
"comments": 0,
"created_at": "2021-10-07T05:10:48Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:06Z",
"updated_at": "2021-10-08T19:45:06Z",
"closed_at": null,
"due_date": null,
"pull_request": null,
"repository": {
"id": 28315,
"id": 28348,
"name": "gitea-webhook",
"owner": "jolheiser",
"full_name": "jolheiser/gitea-webhook"
}
},
"repository": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -162,8 +162,8 @@
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:05Z",
"permissions": {
"admin": true,
"push": true,

24
events/issues.json

@ -2,7 +2,7 @@
"action": "opened",
"number": 1,
"issue": {
"id": 27440,
"id": 27450,
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/issues/1",
"html_url": "https://try.gitea.io/jolheiser/gitea-webhook/issues/1",
"number": 1,
@ -35,22 +35,22 @@
"ref": "",
"labels": [
{
"id": 15259,
"id": 15280,
"name": "bug",
"color": "ee0701",
"description": "Something is not working",
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15259"
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15280"
}
],
"milestone": {
"id": 1542,
"id": 1544,
"title": "Milestone 1",
"description": "Milestone Description",
"state": "open",
"open_issues": 0,
"closed_issues": 0,
"created_at": "2021-10-07T05:10:46Z",
"updated_at": "2021-10-07T05:10:46Z",
"created_at": "2021-10-08T19:45:03Z",
"updated_at": "2021-10-08T19:45:03Z",
"closed_at": null,
"due_on": null
},
@ -103,20 +103,20 @@
"state": "open",
"is_locked": false,
"comments": 0,
"created_at": "2021-10-07T05:10:48Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:06Z",
"updated_at": "2021-10-08T19:45:06Z",
"closed_at": null,
"due_date": null,
"pull_request": null,
"repository": {
"id": 28315,
"id": 28348,
"name": "gitea-webhook",
"owner": "jolheiser",
"full_name": "jolheiser/gitea-webhook"
}
},
"repository": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -162,8 +162,8 @@
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:05Z",
"permissions": {
"admin": true,
"push": true,

46
events/pull_request.json

@ -2,7 +2,7 @@
"action": "closed",
"number": 2,
"pull_request": {
"id": 8164,
"id": 8166,
"url": "https://try.gitea.io/jolheiser/gitea-webhook/pulls/2",
"number": 2,
"user": {
@ -31,22 +31,22 @@
"body": "Pull Request Body",
"labels": [
{
"id": 15259,
"id": 15280,
"name": "bug",
"color": "ee0701",
"description": "Something is not working",
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15259"
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15280"
}
],
"milestone": {
"id": 1542,
"id": 1544,
"title": "Milestone 1",
"description": "Milestone Description",
"state": "open",
"open_issues": 1,
"closed_issues": 1,
"created_at": "2021-10-07T05:10:46Z",
"updated_at": "2021-10-07T05:10:53Z",
"created_at": "2021-10-08T19:45:03Z",
"updated_at": "2021-10-08T19:45:10Z",
"closed_at": null,
"due_on": null
},
@ -98,7 +98,7 @@
],
"state": "closed",
"is_locked": false,
"comments": 4,
"comments": 3,
"html_url": "https://try.gitea.io/jolheiser/gitea-webhook/pulls/2",
"diff_url": "https://try.gitea.io/jolheiser/gitea-webhook/pulls/2.diff",
"patch_url": "https://try.gitea.io/jolheiser/gitea-webhook/pulls/2.patch",
@ -110,10 +110,10 @@
"base": {
"label": "master",
"ref": "master",
"sha": "d14f36e0cce9c679142a6312134213ce3945dad4",
"repo_id": 28315,
"sha": "371222b7ac653788312502df6c281828a312edf5",
"repo_id": 28348,
"repo": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -159,8 +159,8 @@
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:53Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:10Z",
"permissions": {
"admin": false,
"push": false,
@ -189,10 +189,10 @@
"head": {
"label": "main",
"ref": "refs/pull/2/head",
"sha": "34be89562c0a2cd905a4d714033349c2df06f407",
"repo_id": 28315,
"sha": "b74b663640b28bfcbd98364e5705d0fb2cbf032c",
"repo_id": 28348,
"repo": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -238,8 +238,8 @@
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:53Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:10Z",
"permissions": {
"admin": false,
"push": false,
@ -265,14 +265,14 @@
"mirror_interval": ""
}
},
"merge_base": "d14f36e0cce9c679142a6312134213ce3945dad4",
"merge_base": "371222b7ac653788312502df6c281828a312edf5",
"due_date": null,
"created_at": "2021-10-07T05:10:49Z",
"updated_at": "2021-10-07T05:10:53Z",
"created_at": "2021-10-08T19:45:07Z",
"updated_at": "2021-10-08T19:45:10Z",
"closed_at": null
},
"repository": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -318,8 +318,8 @@
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:53Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:10Z",
"permissions": {
"admin": true,
"push": true,

44
events/pull_request_assign.json

@ -2,7 +2,7 @@
"action": "assigned",
"number": 2,
"pull_request": {
"id": 8164,
"id": 8166,
"url": "https://try.gitea.io/jolheiser/gitea-webhook/pulls/2",
"number": 2,
"user": {
@ -31,22 +31,22 @@
"body": "Pull Request Body",
"labels": [
{
"id": 15259,
"id": 15280,
"name": "bug",
"color": "ee0701",
"description": "Something is not working",
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15259"
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15280"
}
],
"milestone": {
"id": 1542,
"id": 1544,
"title": "Milestone 1",
"description": "Milestone Description",
"state": "open",
"open_issues": 1,
"closed_issues": 0,
"created_at": "2021-10-07T05:10:46Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:03Z",
"updated_at": "2021-10-08T19:45:06Z",
"closed_at": null,
"due_on": null
},
@ -110,10 +110,10 @@
"base": {
"label": "master",
"ref": "master",
"sha": "d14f36e0cce9c679142a6312134213ce3945dad4",
"repo_id": 28315,
"sha": "371222b7ac653788312502df6c281828a312edf5",
"repo_id": 28348,
"repo": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -159,8 +159,8 @@
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:05Z",
"permissions": {
"admin": false,
"push": false,
@ -189,10 +189,10 @@
"head": {
"label": "main",
"ref": "main",
"sha": "34be89562c0a2cd905a4d714033349c2df06f407",
"repo_id": 28315,
"sha": "b74b663640b28bfcbd98364e5705d0fb2cbf032c",
"repo_id": 28348,
"repo": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -238,8 +238,8 @@
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:05Z",
"permissions": {
"admin": false,
"push": false,
@ -265,14 +265,14 @@
"mirror_interval": ""
}
},
"merge_base": "d14f36e0cce9c679142a6312134213ce3945dad4",
"merge_base": "371222b7ac653788312502df6c281828a312edf5",
"due_date": null,
"created_at": "2021-10-07T05:10:49Z",
"updated_at": "2021-10-07T05:10:49Z",
"created_at": "2021-10-08T19:45:07Z",
"updated_at": "2021-10-08T19:45:07Z",
"closed_at": null
},
"repository": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -318,8 +318,8 @@
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:05Z",
"permissions": {
"admin": true,
"push": true,

266
events/pull_request_comment.json

@ -1,9 +1,9 @@
{
"action": "reviewed",
"number": 2,
"pull_request": {
"id": 8164,
"url": "https://try.gitea.io/jolheiser/gitea-webhook/pulls/2",
"action": "created",
"issue": {
"id": 27451,
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/issues/2",
"html_url": "https://try.gitea.io/jolheiser/gitea-webhook/pulls/2",
"number": 2,
"user": {
"id": 11280,
@ -27,26 +27,29 @@
"starred_repos_count": -3,
"username": "jolheiser"
},
"original_author": "",
"original_author_id": 0,
"title": "Pull Request 1",
"body": "Pull Request Body",
"ref": "",
"labels": [
{
"id": 15259,
"id": 15280,
"name": "bug",
"color": "ee0701",
"description": "Something is not working",
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15259"
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15280"
}
],
"milestone": {
"id": 1542,
"id": 1544,
"title": "Milestone 1",
"description": "Milestone Description",
"state": "open",
"open_issues": 2,
"closed_issues": 0,
"created_at": "2021-10-07T05:10:46Z",
"updated_at": "2021-10-07T05:10:49Z",
"created_at": "2021-10-08T19:45:03Z",
"updated_at": "2021-10-08T19:45:07Z",
"closed_at": null,
"due_on": null
},
@ -98,181 +101,57 @@
],
"state": "open",
"is_locked": false,
"comments": 3,
"html_url": "https://try.gitea.io/jolheiser/gitea-webhook/pulls/2",
"diff_url": "https://try.gitea.io/jolheiser/gitea-webhook/pulls/2.diff",
"patch_url": "https://try.gitea.io/jolheiser/gitea-webhook/pulls/2.patch",
"mergeable": true,
"merged": false,
"merged_at": null,
"merge_commit_sha": null,
"merged_by": null,
"base": {
"label": "master",
"ref": "master",
"sha": "d14f36e0cce9c679142a6312134213ce3945dad4",
"repo_id": 28315,
"repo": {
"id": 28315,
"owner": {
"id": 11280,
"login": "jolheiser",
"full_name": "",
"email": "jolheiser@noreply.try.gitea.io",
"avatar_url": "/avatar/cc498b605dee7b6fb9e6422332691bb4",
"language": "",
"is_admin": false,
"last_login": "0001-01-01T00:00:00Z",
"created": "2019-02-06T22:20:33Z",
"restricted": false,
"active": false,
"prohibit_login": false,
"location": "",
"website": "",
"description": "F is for friends who do stuff together.",
"visibility": "public",
"followers_count": 0,
"following_count": 1,
"starred_repos_count": -3,
"username": "jolheiser"
},
"name": "gitea-webhook",
"full_name": "jolheiser/gitea-webhook",
"description": "",
"empty": false,
"private": true,
"fork": false,
"template": false,
"parent": null,
"mirror": false,
"size": 20,
"html_url": "https://try.gitea.io/jolheiser/gitea-webhook",
"ssh_url": "git@try.gitea.io:jolheiser/gitea-webhook.git",
"clone_url": "https://try.gitea.io/jolheiser/gitea-webhook.git",
"original_url": "",
"website": "",
"stars_count": 0,
"forks_count": 1,
"watchers_count": 1,
"open_issues_count": 1,
"open_pr_counter": 1,
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:48Z",
"permissions": {
"admin": false,
"push": false,
"pull": false
},
"has_issues": true,
"internal_tracker": {
"enable_time_tracker": false,
"allow_only_contributors_to_track_time": true,
"enable_issue_dependencies": true
},
"has_wiki": true,
"has_pull_requests": true,
"has_projects": true,
"ignore_whitespace_conflicts": false,
"allow_merge_commits": true,
"allow_rebase": true,
"allow_rebase_explicit": true,
"allow_squash_merge": true,
"default_merge_style": "merge",
"avatar_url": "",
"internal": false,
"mirror_interval": ""
}
"comments": 0,
"created_at": "2021-10-08T19:45:07Z",
"updated_at": "2021-10-08T19:45:08Z",
"closed_at": null,
"due_date": null,
"pull_request": {
"merged": false,
"merged_at": null
},
"head": {
"label": "main",
"ref": "main",
"sha": "34be89562c0a2cd905a4d714033349c2df06f407",
"repo_id": 28315,
"repo": {
"id": 28315,
"owner": {
"id": 11280,
"login": "jolheiser",
"full_name": "",
"email": "jolheiser@noreply.try.gitea.io",
"avatar_url": "/avatar/cc498b605dee7b6fb9e6422332691bb4",
"language": "",
"is_admin": false,
"last_login": "0001-01-01T00:00:00Z",
"created": "2019-02-06T22:20:33Z",
"restricted": false,
"active": false,
"prohibit_login": false,
"location": "",
"website": "",
"description": "F is for friends who do stuff together.",
"visibility": "public",
"followers_count": 0,
"following_count": 1,
"starred_repos_count": -3,
"username": "jolheiser"
},
"name": "gitea-webhook",
"full_name": "jolheiser/gitea-webhook",
"description": "",
"empty": false,
"private": true,
"fork": false,
"template": false,
"parent": null,
"mirror": false,
"size": 20,
"html_url": "https://try.gitea.io/jolheiser/gitea-webhook",
"ssh_url": "git@try.gitea.io:jolheiser/gitea-webhook.git",
"clone_url": "https://try.gitea.io/jolheiser/gitea-webhook.git",
"original_url": "",
"website": "",
"stars_count": 0,
"forks_count": 1,
"watchers_count": 1,
"open_issues_count": 1,
"open_pr_counter": 1,
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:48Z",
"permissions": {
"admin": false,
"push": false,
"pull": false
},
"has_issues": true,
"internal_tracker": {
"enable_time_tracker": false,
"allow_only_contributors_to_track_time": true,
"enable_issue_dependencies": true
},
"has_wiki": true,
"has_pull_requests": true,
"has_projects": true,
"ignore_whitespace_conflicts": false,
"allow_merge_commits": true,
"allow_rebase": true,
"allow_rebase_explicit": true,
"allow_squash_merge": true,
"default_merge_style": "merge",
"avatar_url": "",
"internal": false,
"mirror_interval": ""
}
"repository": {
"id": 28348,
"name": "gitea-webhook",
"owner": "jolheiser",
"full_name": "jolheiser/gitea-webhook"
}
},
"comment": {
"id": 92813,
"html_url": "https://try.gitea.io/jolheiser/gitea-webhook/pulls/2#issuecomment-92813",
"pull_request_url": "https://try.gitea.io/jolheiser/gitea-webhook/pulls/2",
"issue_url": "",
"user": {
"id": 11280,
"login": "jolheiser",
"full_name": "",
"email": "jolheiser@noreply.try.gitea.io",
"avatar_url": "/avatar/cc498b605dee7b6fb9e6422332691bb4",
"language": "",
"is_admin": false,
"last_login": "0001-01-01T00:00:00Z",
"created": "2019-02-06T22:20:33Z",
"restricted": false,
"active": false,
"prohibit_login": false,
"location": "",
"website": "",
"description": "F is for friends who do stuff together.",
"visibility": "public",
"followers_count": 0,
"following_count": 1,
"starred_repos_count": -3,
"username": "jolheiser"
},
"merge_base": "d14f36e0cce9c679142a6312134213ce3945dad4",
"due_date": null,
"created_at": "2021-10-07T05:10:49Z",
"updated_at": "2021-10-07T05:10:51Z",
"closed_at": null
"original_author": "",
"original_author_id": 0,
"body": "Pull Request Comment",
"created_at": "2021-10-08T19:45:08Z",
"updated_at": "2021-10-08T19:45:08Z"
},
"repository": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -318,8 +197,8 @@
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:05Z",
"permissions": {
"admin": true,
"push": true,
@ -345,29 +224,26 @@
"mirror_interval": ""
},
"sender": {
"id": 7886,
"login": "Etzelia",
"id": 11280,
"login": "jolheiser",
"full_name": "",
"email": "etzelia@hotmail.com",
"avatar_url": "/avatar/3b64e4ed200ebcdb88d592dec69e33a8",
"email": "jolheiser@noreply.try.gitea.io",
"avatar_url": "/avatar/cc498b605dee7b6fb9e6422332691bb4",
"language": "",
"is_admin": false,
"last_login": "0001-01-01T00:00:00Z",
"created": "2018-09-12T14:26:52Z",
"created": "2019-02-06T22:20:33Z",
"restricted": false,
"active": false,
"prohibit_login": false,
"location": "",
"website": "",
"description": "",
"description": "F is for friends who do stuff together.",
"visibility": "public",
"followers_count": 0,
"following_count": 1,
"starred_repos_count": 0,
"username": "Etzelia"
"starred_repos_count": -3,
"username": "jolheiser"
},
"review": {
"type": "pull_request_comment",
"content": "Comment"
}
"is_pull": true
}

44
events/pull_request_label.json

@ -2,7 +2,7 @@
"action": "label_updated",
"number": 2,
"pull_request": {
"id": 8164,
"id": 8166,
"url": "https://try.gitea.io/jolheiser/gitea-webhook/pulls/2",
"number": 2,
"user": {
@ -31,22 +31,22 @@
"body": "Pull Request Body",
"labels": [
{
"id": 15259,
"id": 15280,
"name": "bug",
"color": "ee0701",
"description": "Something is not working",
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15259"
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15280"
}
],
"milestone": {
"id": 1542,
"id": 1544,
"title": "Milestone 1",
"description": "Milestone Description",
"state": "open",
"open_issues": 1,
"closed_issues": 0,
"created_at": "2021-10-07T05:10:46Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:03Z",
"updated_at": "2021-10-08T19:45:06Z",
"closed_at": null,
"due_on": null
},
@ -110,10 +110,10 @@
"base": {
"label": "master",
"ref": "master",
"sha": "d14f36e0cce9c679142a6312134213ce3945dad4",
"repo_id": 28315,
"sha": "371222b7ac653788312502df6c281828a312edf5",
"repo_id": 28348,
"repo": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -159,8 +159,8 @@
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:05Z",
"permissions": {
"admin": false,
"push": false,
@ -189,10 +189,10 @@
"head": {
"label": "main",
"ref": "main",
"sha": "34be89562c0a2cd905a4d714033349c2df06f407",
"repo_id": 28315,
"sha": "b74b663640b28bfcbd98364e5705d0fb2cbf032c",
"repo_id": 28348,
"repo": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -238,8 +238,8 @@
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:05Z",
"permissions": {
"admin": false,
"push": false,
@ -265,14 +265,14 @@
"mirror_interval": ""
}
},
"merge_base": "d14f36e0cce9c679142a6312134213ce3945dad4",
"merge_base": "371222b7ac653788312502df6c281828a312edf5",
"due_date": null,
"created_at": "2021-10-07T05:10:49Z",
"updated_at": "2021-10-07T05:10:49Z",
"created_at": "2021-10-08T19:45:07Z",
"updated_at": "2021-10-08T19:45:07Z",
"closed_at": null
},
"repository": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -318,8 +318,8 @@
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:05Z",
"permissions": {
"admin": false,
"push": false,

44
events/pull_request_milestone.json

@ -2,7 +2,7 @@
"action": "milestoned",
"number": 2,
"pull_request": {
"id": 8164,
"id": 8166,
"url": "https://try.gitea.io/jolheiser/gitea-webhook/pulls/2",
"number": 2,
"user": {
@ -31,22 +31,22 @@
"body": "Pull Request Body",
"labels": [
{
"id": 15259,
"id": 15280,
"name": "bug",
"color": "ee0701",
"description": "Something is not working",
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15259"
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15280"
}
],
"milestone": {
"id": 1542,
"id": 1544,
"title": "Milestone 1",
"description": "Milestone Description",
"state": "open",
"open_issues": 1,
"closed_issues": 0,
"created_at": "2021-10-07T05:10:46Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:03Z",
"updated_at": "2021-10-08T19:45:06Z",
"closed_at": null,
"due_on": null
},
@ -110,10 +110,10 @@
"base": {
"label": "master",
"ref": "master",
"sha": "d14f36e0cce9c679142a6312134213ce3945dad4",
"repo_id": 28315,
"sha": "371222b7ac653788312502df6c281828a312edf5",
"repo_id": 28348,
"repo": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -159,8 +159,8 @@
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:05Z",
"permissions": {
"admin": false,
"push": false,
@ -189,10 +189,10 @@
"head": {
"label": "main",
"ref": "main",
"sha": "34be89562c0a2cd905a4d714033349c2df06f407",
"repo_id": 28315,
"sha": "b74b663640b28bfcbd98364e5705d0fb2cbf032c",
"repo_id": 28348,
"repo": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -238,8 +238,8 @@
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:05Z",
"permissions": {
"admin": false,
"push": false,
@ -265,14 +265,14 @@
"mirror_interval": ""
}
},
"merge_base": "d14f36e0cce9c679142a6312134213ce3945dad4",
"merge_base": "371222b7ac653788312502df6c281828a312edf5",
"due_date": null,
"created_at": "2021-10-07T05:10:49Z",
"updated_at": "2021-10-07T05:10:49Z",
"created_at": "2021-10-08T19:45:07Z",
"updated_at": "2021-10-08T19:45:07Z",
"closed_at": null
},
"repository": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -318,8 +318,8 @@
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:05Z",
"permissions": {
"admin": true,
"push": true,

44
events/pull_request_review_approved.json

@ -2,7 +2,7 @@
"action": "reviewed",
"number": 2,
"pull_request": {
"id": 8164,
"id": 8166,
"url": "https://try.gitea.io/jolheiser/gitea-webhook/pulls/2",
"number": 2,
"user": {
@ -31,22 +31,22 @@
"body": "Pull Request Body",
"labels": [
{
"id": 15259,
"id": 15280,
"name": "bug",
"color": "ee0701",
"description": "Something is not working",
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15259"
"url": "https://try.gitea.io/api/v1/repos/jolheiser/gitea-webhook/labels/15280"
}
],
"milestone": {
"id": 1542,
"id": 1544,
"title": "Milestone 1",
"description": "Milestone Description",
"state": "open",
"open_issues": 2,
"closed_issues": 0,
"created_at": "2021-10-07T05:10:46Z",
"updated_at": "2021-10-07T05:10:49Z",
"created_at": "2021-10-08T19:45:03Z",
"updated_at": "2021-10-08T19:45:07Z",
"closed_at": null,
"due_on": null
},
@ -110,10 +110,10 @@
"base": {
"label": "master",
"ref": "master",
"sha": "d14f36e0cce9c679142a6312134213ce3945dad4",
"repo_id": 28315,
"sha": "371222b7ac653788312502df6c281828a312edf5",
"repo_id": 28348,
"repo": {
"id": 28315,
"id": 28348,
"owner": {
"id": 11280,
"login": "jolheiser",
@ -159,8 +159,8 @@
"release_counter": 1,
"default_branch": "master",
"archived": false,
"created_at": "2021-10-07T05:10:45Z",
"updated_at": "2021-10-07T05:10:48Z",
"created_at": "2021-10-08T19:45:02Z",
"updated_at": "2021-10-08T19:45:05Z",
"permissions": {
"admin": false,
"push": false,
@ -189,10 +189,10 @@
"head": {
"label": "main",
"ref": "main",
"sha": "34be89562c0a2cd905a4d714033349c2df06f407",
"repo_id": 28315,
"sha": "b74b663640b28bfcbd98364e5705d0fb2cbf032c",
"repo_id": 28348,
"repo": {
"id": 28315,
"id": 28348,