Skip to main content
github.onPush emits repository push events for branches and tags.
automations/watch-github-pushes.automation.ts
Optional static account defaults to the project’s GitHub App installation binding and can’t be a signal. Returns Signal<GitHubPushEvent> with ref, before, after, commits, pusher, repository, sender, installation, and created/deleted/forced flags. The installation needs Contents read permission and receives pushes only from accessible repositories. GitHub can omit individual commits from unusually large pushes while retaining range metadata.