@@ -1071,3 +1071,79 @@ const HookPullRequestClosed = `
1071
1071
"review": null
1072
1072
}
1073
1073
`
1074
+
1075
+ const HookRelease = `
1076
+ {
1077
+ "action": "published",
1078
+ "release": {
1079
+ "id": 48,
1080
+ "tag_name": "0.0.5",
1081
+ "target_commitish": "main",
1082
+ "name": "Version 0.0.5",
1083
+ "body": "",
1084
+ "url": "https://git.xxx/api/v1/repos/anbraten/demo/releases/48",
1085
+ "html_url": "https://git.xxx/anbraten/demo/releases/tag/0.0.5",
1086
+ "tarball_url": "https://git.xxx/anbraten/demo/archive/0.0.5.tar.gz",
1087
+ "zipball_url": "https://git.xxx/anbraten/demo/archive/0.0.5.zip",
1088
+ "draft": false,
1089
+ "prerelease": false,
1090
+ "created_at": "2022-02-09T20:23:05Z",
1091
+ "published_at": "2022-02-09T20:23:05Z",
1092
+ "author": {"id":1,"login":"anbraten","full_name":"Anton Bracke","email":"anbraten@noreply.xxx","avatar_url":"https://git.xxx/user/avatar/anbraten/-1","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2018-03-21T10:04:48Z","restricted":false,"active":false,"prohibit_login":false,"location":"world","website":"https://xxx","description":"","visibility":"public","followers_count":1,"following_count":1,"starred_repos_count":1,"username":"anbraten"},
1093
+ "assets": []
1094
+ },
1095
+ "repository": {
1096
+ "id": 77,
1097
+ "owner": {"id":1,"login":"anbraten","full_name":"Anton Bracke","email":"anbraten@noreply.xxx","avatar_url":"https://git.xxx/user/avatar/anbraten/-1","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2018-03-21T10:04:48Z","restricted":false,"active":false,"prohibit_login":false,"location":"world","website":"https://xxx","description":"","visibility":"public","followers_count":1,"following_count":1,"starred_repos_count":1,"username":"anbraten"},
1098
+ "name": "demo",
1099
+ "full_name": "anbraten/demo",
1100
+ "description": "",
1101
+ "empty": false,
1102
+ "private": true,
1103
+ "fork": false,
1104
+ "template": false,
1105
+ "parent": null,
1106
+ "mirror": false,
1107
+ "size": 59,
1108
+ "html_url": "https://git.xxx/anbraten/demo",
1109
+ "ssh_url": "ssh://git@git.xxx:22/anbraten/demo.git",
1110
+ "clone_url": "https://git.xxx/anbraten/demo.git",
1111
+ "original_url": "",
1112
+ "website": "",
1113
+ "stars_count": 0,
1114
+ "forks_count": 1,
1115
+ "watchers_count": 1,
1116
+ "open_issues_count": 2,
1117
+ "open_pr_counter": 2,
1118
+ "release_counter": 4,
1119
+ "default_branch": "main",
1120
+ "archived": false,
1121
+ "created_at": "2021-08-30T20:54:13Z",
1122
+ "updated_at": "2022-01-09T01:29:23Z",
1123
+ "permissions": {
1124
+ "admin": true,
1125
+ "push": true,
1126
+ "pull": true
1127
+ },
1128
+ "has_issues": true,
1129
+ "internal_tracker": {
1130
+ "enable_time_tracker": true,
1131
+ "allow_only_contributors_to_track_time": true,
1132
+ "enable_issue_dependencies": true
1133
+ },
1134
+ "has_wiki": false,
1135
+ "has_pull_requests": true,
1136
+ "has_projects": true,
1137
+ "ignore_whitespace_conflicts": false,
1138
+ "allow_merge_commits": true,
1139
+ "allow_rebase": true,
1140
+ "allow_rebase_explicit": true,
1141
+ "allow_squash_merge": true,
1142
+ "default_merge_style": "squash",
1143
+ "avatar_url": "",
1144
+ "internal": false,
1145
+ "mirror_interval": ""
1146
+ },
1147
+ "sender": {"id":1,"login":"anbraten","full_name":"Anbraten","email":"anbraten@noreply.xxx","avatar_url":"https://git.xxx/user/avatar/anbraten/-1","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2018-03-21T10:04:48Z","restricted":false,"active":false,"prohibit_login":false,"location":"World","website":"https://xxx","description":"","visibility":"public","followers_count":1,"following_count":1,"starred_repos_count":1,"username":"anbraten"}
1148
+ }
1149
+ `
0 commit comments