Skip to content

Commit b3924aa

Browse files
authored
fix: change sender field for CodeScanningAlert event to match other payloads (#3855)
1 parent f4469f0 commit b3924aa

File tree

1 file changed

+13
-24
lines changed

1 file changed

+13
-24
lines changed

lib/webhooks/static/dotcom/code_scanning_alert.reopened.payload.json

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -141,31 +141,20 @@
141141
"login": "github",
142142
"id": 9919,
143143
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
144-
"url": "https://api.github.com/orgs/github",
145-
"repos_url": "https://api.github.com/orgs/github/repos",
146-
"events_url": "https://api.github.com/orgs/github/events",
147-
"hooks_url": "https://api.github.com/orgs/github/hooks",
148-
"issues_url": "https://api.github.com/orgs/github/issues",
149-
"members_url": "https://api.github.com/orgs/github/members{/member}",
150-
"public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
151144
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
152-
"description": "How people build software.",
153-
"name": "GitHub",
154-
"company": null,
155-
"blog": "https://github.com/about",
156-
"location": "San Francisco, CA",
157-
"email": null,
158-
"twitter_username": null,
159-
"is_verified": true,
160-
"has_organization_projects": true,
161-
"has_repository_projects": true,
162-
"public_repos": 371,
163-
"public_gists": 0,
164-
"followers": 0,
165-
"following": 0,
145+
"gravatar_id": "",
146+
"url": "https://api.github.com/users/github",
166147
"html_url": "https://github.com/github",
167-
"created_at": "2008-05-11T04:37:31Z",
168-
"updated_at": "2020-09-28T06:15:10Z",
169-
"type": "Organization"
148+
"followers_url": "https://api.github.com/users/github/followers",
149+
"following_url": "https://api.github.com/users/github/following{/other_user}",
150+
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
151+
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
152+
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
153+
"organizations_url": "https://api.github.com/users/github/orgs",
154+
"repos_url": "https://api.github.com/users/github/repos",
155+
"events_url": "https://api.github.com/users/github/events{/privacy}",
156+
"received_events_url": "https://api.github.com/users/github/received_events",
157+
"type": "Organization",
158+
"site_admin": false
170159
}
171160
}

0 commit comments

Comments
 (0)