MCPcopy Create free account
hub / github.com/dmno-dev/bumpy / GitHubEventPayload

Interface GitHubEventPayload

packages/bumpy/src/commands/ci.ts:1797–1807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1795}
1796
1797interface GitHubEventPayload {
1798 pull_request?: {
1799 number?: number;
1800 head?: { repo?: { id?: number } };
1801 base?: { repo?: { id?: number } };
1802 };
1803 // Present on `workflow_run` events — the trusted SHA of the run that triggered us.
1804 workflow_run?: {
1805 head_sha?: string;
1806 };
1807}
1808
1809function readGitHubEventPayload(): GitHubEventPayload | null {
1810 const path = process.env.GITHUB_EVENT_PATH;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…