Documentation
¶
Index ¶
- func DestinationDetails(pr map[string]any) (workspace, repo, branch, commit string)
- func LoadPRTurns(ctx workflow.Context) map[string][]string
- func NormalizeChannelName(name string, maxLen int) string
- func NormalizeTime(timeStr, amPm string) (string, error)
- func PRDetails(ctx workflow.Context, url, userID string) string
- func RequiredReviewers(paths []string, owners map[string][]string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DestinationDetails ¶ added in v1.0.0
func NormalizeChannelName ¶
NormalizeChannelName transforms arbitrary text into a valid Slack channel name. Based on: https://docs.slack.dev/reference/methods/conversations.create#naming.
func NormalizeTime ¶ added in v1.0.0
NormalizeTime takes a time string and an optional am/pm indicator, and returns the time in a standardized format or an error if invalid.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.