Interface RepositoryEvent

  • All Superinterfaces:
    BaseEvent
    All Known Implementing Classes:
    ImmutableRepositoryEvent

    @Immutable
    public interface RepositoryEvent
    extends BaseEvent
    Triggered when a repository is created, deleted, made public, or made private.

    Events of this type are not visible in timelines. These events are only used to trigger hooks.

    • Method Detail

      • action

        @Nullable
        String action()
        The action that was performed. This can be one of "created", "deleted", "publicized", or "privatized".
      • organization

        @Nullable
        Organization organization()
        Organization