Class PushEvent
-
- All Implemented Interfaces:
-
io.typeflows.github.workflow.event.GitHubEvent
public final class PushEvent extends Context implements GitHubEvent
Represents a push event in GitHub Actions workflows.
This event is triggered when commits are pushed to a repository branch or tag. It provides access to commit information, branch references, and details about what was changed during the push operation. Use this event to trigger workflows on code changes, deployments, or continuous integration processes.
-
-
Field Summary
Fields Modifier and Type Field Description private final Repositoryrepositoryprivate final Usersenderprivate final StrExprefprivate final StrExpbeforeprivate final StrExpafterprivate final BoolExpcreatedprivate final BoolExpdeletedprivate final BoolExpforcedprivate final StrExpcompareprivate final StrExpcommitsprivate final Pusherpusherprivate final StrExpbase_refprivate final Commithead_commitprivate final Stringprefix
-
Method Summary
Modifier and Type Method Description RepositorygetRepository()UsergetSender()final StrExpgetRef()final StrExpgetBefore()final StrExpgetAfter()final BoolExpgetCreated()final BoolExpgetDeleted()final BoolExpgetForced()final StrExpgetCompare()final StrExpgetCommits()final PushergetPusher()final StrExpgetBase_ref()final CommitgetHead_commit()final StringgetPrefix()-
-
Constructor Detail
-
PushEvent
PushEvent(String prefix)
-
-
Method Detail
-
getRepository
Repository getRepository()
-
getCreated
final BoolExp getCreated()
-
getDeleted
final BoolExp getDeleted()
-
getCompare
final StrExp getCompare()
-
getCommits
final StrExp getCommits()
-
getBase_ref
final StrExp getBase_ref()
-
getHead_commit
final Commit getHead_commit()
-
-
-
-