(payload: CreateEvent)
| 390 | }; |
| 391 | |
| 392 | function branchTagProperties(payload: CreateEvent) { |
| 393 | return [ |
| 394 | { |
| 395 | label: "Repo", |
| 396 | text: payload.repository.name, |
| 397 | url: payload.repository.html_url, |
| 398 | }, |
| 399 | { |
| 400 | label: payload.ref_type === "branch" ? "Branch" : "Tag", |
| 401 | text: payload.ref, |
| 402 | }, |
| 403 | ]; |
| 404 | } |
| 405 | |
| 406 | const onPush: EventSpecification<PushEvent> = { |
| 407 | name: "push", |
no outgoing calls
no test coverage detected
searching dependent graphs…