TriggerSecret
Purpose and behavior
Section titled “Purpose and behavior”Secret of createGithubWebhook(), createGitlabWebhook(), createSlackSource() and createStandardWebhook(): a string, or a callback returning every currently accepted secret so you can rotate without downtime. An empty string fails when the source is created; a callback that returns no usable secret fails verification.