import { type PushEvent } from "https://deno.land/x/actionify@0.3.0/src/deps/octokit-types.ts";
Properties
URL that shows the changes in this ref
update, from the before
commit to the after
commit. For a newly created ref
that is directly based on the default branch, this is the comparison between the head of the default branch and the after
commit. Otherwise, this shows all commits until the after
commit.
An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the compare
between the before
commit and the after
commit.) The array includes a maximum of 20 commits. If necessary, you can use the Commits API to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.
For pushes where after
is or points to a commit object, an expanded representation of that commit. For pushes where after
refers to an annotated tag object, an expanded representation of the commit pointed to by the annotated tag.