Class ForkEvent
-
- All Implemented Interfaces:
-
io.typeflows.github.workflow.event.GitHubEvent
public final class ForkEvent extends Context implements GitHubEvent
Represents a fork event in GitHub Actions workflows.
This event is triggered when someone forks a repository. It provides access to information about both the original repository and the newly created fork. Use this event to track repository popularity, welcome new contributors, or set up automated processes for forked repositories.
-
-
Field Summary
Fields Modifier and Type Field Description private final Repositoryrepositoryprivate final Usersenderprivate final Repositoryforkeeprivate final Stringprefix
-
Method Summary
Modifier and Type Method Description RepositorygetRepository()UsergetSender()final RepositorygetForkee()final StringgetPrefix()-
-
Constructor Detail
-
ForkEvent
ForkEvent(String prefix)
-
-
Method Detail
-
getRepository
Repository getRepository()
-
getForkee
final Repository getForkee()
-
-
-
-