Class PublicEvent
-
- All Implemented Interfaces:
-
io.typeflows.github.workflow.event.GitHubEvent
public final class PublicEvent extends Context implements GitHubEvent
Represents a public event in GitHub Actions workflows.
This event is triggered when a private repository is made public. It provides basic repository and user information about the visibility change. Use this event to automate processes when repositories become publicly visible, such as updating documentation, notifying teams, or triggering security audits.
-
-
Field Summary
Fields Modifier and Type Field Description private final Repositoryrepositoryprivate final Usersenderprivate final Stringprefix
-
Constructor Summary
Constructors Constructor Description PublicEvent(String prefix)
-
Method Summary
Modifier and Type Method Description RepositorygetRepository()UsergetSender()final StringgetPrefix()-
-
Constructor Detail
-
PublicEvent
PublicEvent(String prefix)
-
-
Method Detail
-
getRepository
Repository getRepository()
-
-
-
-