MCPcopy Create free account
hub / github.com/serverless/examples / buildGithubPayload

Function buildGithubPayload

aws-node-github-check/libs/response-lib.js:8–14  ·  view source on GitHub ↗
(state, description)

Source from the content-addressed store, hash-verified

6}
7
8function buildGithubPayload(state, description) {
9 return {
10 state,
11 description,
12 context: 'serverless-webhook/pr-body',
13 };
14}
15
16export function success(body) {
17 return buildResponse(204, body);

Callers 2

githubSuccessPayloadFunction · 0.85
githubFailurePayloadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected