notify

package
v0.0.0-...-832881f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGitNotify

func NewGitNotify(appIO io.IO, conf *configuration.Configuration, repo git.Repo) hooks.Action

Types

type GitNotify

type GitNotify struct {
	// contains filtered or unexported fields
}

GitNotify checks the git history for git-notify: messages and displays the notifications. Applicable for: 'post-checkout', 'post-merge', 'post-rewrite'

Example configuration:

{
  "run": "CaptainHook::Notify.GitNotify",
  "options": {
    "prefix": "git-notify:"
  }
}

func (*GitNotify) IsApplicableFor

func (a *GitNotify) IsApplicableFor(hook string) bool

func (*GitNotify) Run

func (a *GitNotify) Run(action *configuration.Action) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL