Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "api/mapping/GoalSetter"

Index

Type aliases

GoalSetter

GoalSetter<F>: Mapping<F, Goals>

A GoalSetter decides what goals to run depending on repo contents and characteristics of the push. It is fundamental to determining the flow after the push: for example: do we want to run a code scan?; do we want to build?; do we want to deploy?

returns

Goals or undefined if it doesn't like the push or understand the repo

Type parameters

Functions

hasGoalSettingStructure

  • hasGoalSettingStructure<F, V>(m: Mapping<F, V>): m is GoalSettingStructure<F, V>

Generated using TypeDoc